- Posts: 20
- Thank you received: 0
Can you hide the calendar on a date field?
- Mark
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 1 month ago #60029
by Mark
Can you hide the calendar on a date field? was created 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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
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
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.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.