Can a today's date be added in a date field when the submit button is pressed?

catherine26

26-02-2015

I created a form with a submit button and the form is sent via email.  Can the date when the form is submitted show up in a date field with the button is pressed?


Any help with this is much appreciated. Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

radzmar

MVP

26-02-2015

Hi,

there is a preSubmit event for form objects you can use.

Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.

$ = num2date(date(), "MM/DD/YYYY")