Highlighted

Auto generate date field.

Avatar

Guest

08-10-2008

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

Replies

Highlighted

Jasmin_Charbonn

08-10-2008

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