- Posts: 1
- Thank you received: 0
Validate a specific date and month
- eva
- Topic Author
- Offline
- New Member
-
Less
More
10 years 1 month ago #75742
by eva
Validate a specific date and month was created by eva
Kindly could you please help me with date validation.
I would like to set up an event with registration form, where user can pick only one date, 14 February. the years doesnt matter. Condition of the query is: Only14 February in different years.
1.What type of validation rule should i set?
2.Which validation Rules should i insert according my query?
Thank you in advance!!!
I would like to set up an event with registration form, where user can pick only one date, 14 February. the years doesnt matter. Condition of the query is: Only14 February in different years.
1.What type of validation rule should i set?
2.Which validation Rules should i insert according my query?
Thank you in advance!!!
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
10 years 1 month ago - 10 years 1 month ago #75762
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Validate a specific date and month
I would use a drop-down or radio button field for this instead, giving the registrants the option of
Feb 14 2016
Feb 14 2017
etc.
-or-
Set the field title to something like "Please choose the year of your first Valentines Day (Feb 14) together", and set a drop down to contain the possible years they can choose from.
If you need an actual date field however, this won't work quite as nicely
Feb 14 2016
Feb 14 2017
etc.
-or-
Set the field title to something like "Please choose the year of your first Valentines Day (Feb 14) together", and set a drop down to contain the possible years they can choose from.
If you need an actual date field however, this won't work quite as nicely
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 10 years 1 month ago by James Riley.
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
10 years 1 month ago #75767
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Validate a specific date and month
I think this can be done with validation, using the funcCall method as listed here:
posabsolute.github.io/jQuery-Validation-.../#funccallmethodname
. You will need a Javascript function written to test the dates.
This answer doesn't answer your question but it will get you pointed in the right direction
Is there someone reading this post that is a javascript wiz and can help with the code?
This answer doesn't answer your question but it will get you pointed in the right direction
Is there someone reading this post that is a javascript wiz and can help with the code?
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 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.