- elkviewwebAsked on March 03, 2011 at 09:11 AM
On a form I have created the date is not defaulting to the current date and time but the last time the page was visited. Maybe a cookie issue, any fixes known?
I removed the date settings for now.
- JotForm SupportliyamAnswered on March 04, 2011 at 04:56 AM
I have tried checking your form and it works fine.
Can you explain more on what date/time it was showing at the certain date/time you were checking it?
- elkviewwebAnswered on March 04, 2011 at 06:59 AM
I had to remove the date settings from the form, a client was not happy the date wa not changing.
What happened was that the form would show the date of the least time the page was visited and not the current date. Like a cookie was keeping the date the same, so if someone visited on 02/28/2011 and then came back today, the date would still read 02/28/2011.
- JotForm SupportliyamAnswered on March 07, 2011 at 08:32 AM
I see. This is because the time/date showing in the form is visitor's CPU-dependent. If we visit one single form from where you are and where I am, we will have different values in it when submitted because of our time difference.
You can do some local time prepopulation on the fields for a fixed time in your area if you know a bit programming using server side scripting like PHP and ASP.
Hope this helps.