degarrin
Member
Hello. I have a form where I have a date time field that I created and it is set to default to the current date. I want the information to show on the form, but don't want it to be editable to most users. However, when the form is submitting, the field appears blank and the information is uploading to the database as all zeros. I also left the default date_time field that was created when the form was first set up in there as well, and it is also doing the same thing. However, I have a third date field in the form that is not set to default to the current date, and it is saving to the database correctly.
I've tried deleting the field and recreating it, with no luck. I even went so far as to recreate the whole form from scratch, with the same results. I have other forms with multiple date fields and I'm not having any issues.
Here are some of the field settings for the one I built:
Hidden = No
Default to current date = Yes
Always return todays date = No
Allow typing in field = No
Form Add Access = Special
Form Edit Access = Special
Any suggestions would be appreciated. I can give site access if needed, as the form is restricted on the frontend to registered users.
Thanks!
Angela
Degarrin
I've tried deleting the field and recreating it, with no luck. I even went so far as to recreate the whole form from scratch, with the same results. I have other forms with multiple date fields and I'm not having any issues.
Here are some of the field settings for the one I built:
Hidden = No
Default to current date = Yes
Always return todays date = No
Allow typing in field = No
Form Add Access = Special
Form Edit Access = Special
Any suggestions would be appreciated. I can give site access if needed, as the form is restricted on the frontend to registered users.
Thanks!
Angela
Degarrin