Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action("gform_pre_submission_30","convert_field_date",10,2);
- function convert_field_date($form){
- $_POST["input_2"] = strtotime($_POST["input_1"]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement