Hide another field based on the selected date
add_action(‘frm_date_field_js’, ‘limit_my_date_field’); function limit_my_date_field($field_id){ $key_one = ‘FIELDKEY1‘; //Change FIELDKEY1 to the key of your date field $id_two = ‘FIELDID2‘; //Change FIELDID2 to the ID of your field to hide if($field_id == ‘field_’. $key_one){ echo ‘,onSelect:function(selectedDate,inst){ var theDate=new Date(inst.selectedYear,inst.selectedMonth,inst.selectedDay); var hideDate=new…Continue reading