I'm wondering how i can put in notification title, the date and hours the form has been submitted
i see i can put this {date_mdy}
but i want put : mm/dd/yy - h:m:s
I'm wondering how i can put in notification title, the date and hours the form has been submitted
i see i can put this {date_mdy}
but i want put : mm/dd/yy - h:m:s
We don't have a time indicator for when a form was submitted. To do this, you'll have to create a field in your form, and use one of our hooks to fill it with the PHP time code you want to use.
I recommend the following:
http://www.gravityhelp.com/documentation/page/Gform_pre_submission
Using the following PHP:
http://php.net/manual/en/function.date.php
Can you add this request in future release ?
Actually, we want to know when the forms was submitted !
Second question
I put the code in my theme in function.php ?
can i create a hidden field with Gravity, this new field must be hidden in front end form ?
I will move this to feature requests.
You put the code in your theme's functions.php file. And yes, you can create a hidden field in Gravity Forms or a normal text input field with a class of gf_hidden (and the css of .gf_hidden { display: none; } so then it is hidden in the front end.
All my best!
Hi,
I use imput hidden field. i follow your instructions but i get an error, i have 3 forms i use
i didn't get good value when i received notification
add_action("gform_pre_submission", "pre_submission_handler");
function pre_submission_handler($form){
$_POST["input_25"] = date('G:H:s');
$_POST["input_24"] = date('G:H:s');
$_POST["input_16"] = date('G:H:s');
}
How i can specify which imput i must use for each form ?
You can see on : http://www.ipo-sa.com/
Jean-Paul, if you would like help with your existing forms, please begin a new topic in the regular support forums. http://www.gravityhelp.com/forums/forum/gravity-forms#postform Please include as much information as you can, including a link to the page on your site where the form is embedded, and any custom code you are using.
We try not to handle support in the pre-purchase and feature request forums. Thank you.