Expand my Community achievements bar.

Time on forms

Avatar

Former Community Member
I'm fairly new to this and need some help. I have created a few forms and now am being asked to include a date and time field that populates itself and cannot be changed. The person completing the form emails the form, problem that comes in is when the person receiving the form opens it up in a day or two the date on the form is not the date that the form was completed. It is the current date. How do I make it so that the date on the form does not change when opened by someone else later?

Thank you in advance

Debby
1 Reply

Avatar

Former Community Member
I will try to answer this as I have recently had to do it on one of my forms...



The art is to have a hidden field that is set to the current date/time, then once the user presses the submit button, the current value of the hidden field is copied into your displayed date/time field (first of all checking if the displayed field is not already filled in stops accidental additional pushing of the submit button)



Hope this helps