Expand my Community achievements bar.

Auto generate date field.

Avatar

Former Community Member
Is there a simple method for automatically displaying the current date in a form field? My form may take several days to run through the process I've created but the customer would like the final step's date input to be automated.



Thanks,

Pat
1 Reply

Avatar

Level 10
You can create a variable of type 'date'.



Then with a setValue use the expression current-date() to get the current date.



Finally use the setValue to set the data element on your form with the value of your date variable.



Jasmin