Calculate final date
add_filter(‘frm_validate_field_entry’, ‘set_my_expiration_date’, 10, 3); function set_my_expiration_date($errors, $posted_field, $posted_value){ if ( $posted_field->id == 25 ) { //change 25 to the ID of the date field to change // Get the first date in a UNIX timestamp $first_date = date_create_from_format( ‘d/m/Y‘, $_POST[‘item_meta’][20]…Continue reading