Can you hide the calendar on a date field?

  • Mark
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 1 month ago #60029 by Mark
One of the fields that I need to use on my Membership Pro application form is 'Date of Birth'. I would rather not have the calendar function appear, since a 60 year old person would have to click back through 60 years to get to their birth date.Is there any way of hiding the calendar on a date field and just have the viewer type in their date in the proper format?

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #60036 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Can you hide the calendar on a date field?
Hi Mark

I think you can change the field type of the field to Text. Then set validation rules to validate[custom[date]] and it should be OK

However, the date format is now hardcoded to YYYY-MM-DD, so if you want to use a different date format, we will have to edit the code abit.

If you let me know the date format you want to use, we will try to modify that code for you

Tuan

Please Log in or Create an account to join the conversation.