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

Avatar

Avatar

catherine26

Avatar

catherine26

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)

Avatar

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

386

Correct Answer

485

Avatar

radzmar

MVP

Total Posts

2.6K

Likes

386

Correct Answer

485
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")

Answers (1)

Answers (1)

Avatar

Avatar

catherine26

Avatar

catherine26

catherine26

03-03-2015

Thank you for this it helped me out a lot.