- Posts: 82
- Thank you received: 0
custom field date validation
- Chris Moyses
- Topic Author
- Offline
- Premium Member
-
Less
More
5 years 4 months ago #131003
by Chris Moyses
custom field date validation was created by Chris Moyses
i have 4 custom date fields for date-of-birth records in my membership database to cover children. i would like to validate that the date is correctly formatted as DD-MM-YYYY but if i use the function validate[custom[date],past[now]] this does confirm that an entered date is correctly formatted but does not allow for the field to be blank.
The date fields are not mandatory.
is there a way to set the function so that IF a date is entered it is validated but that no entry at all is also allowed?
Thank you.
The date fields are not mandatory.
is there a way to set the function so that IF a date is entered it is validated but that no entry at all is also allowed?
Thank you.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 4 months ago #131006
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic custom field date validation
Hello Mike
Honestly, this is controlled by the validation library which we are using, so I am afraid of we could not make the change
Maybe you can submit a support ticket sending us super admin account of your site and link to the page? We will try to look at it to see if we can come up with a solution for that problem
Regards,
Tuan
Honestly, this is controlled by the validation library which we are using, so I am afraid of we could not make the change
Maybe you can submit a support ticket sending us super admin account of your site and link to the page? We will try to look at it to see if we can come up with a solution for that problem
Regards,
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.