Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

catherine26
Level 3
Level 3

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.

1 Accepted Solution
radzmar
Correct answer by
Level 10
Level 10

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

View solution in original post

2 Replies
radzmar
Correct answer by
Level 10
Level 10

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

View solution in original post

catherine26
Level 3
Level 3

Thank you for this it helped me out a lot.