- Posts: 103
- Thank you received: 5
Collection of Date of Birth/Use as variable
- Russell Noble
- Topic Author
- Offline
- Premium Member
Less
More
8 years 2 months ago #89445
by Russell Noble
Collection of Date of Birth/Use as variable was created by Russell Noble
Client has a requirement to check the date of birth of registrants and then either not allow registration (<16) or allow registration but with a text warning display (16-18).
Looking through the forums a number of customers have asked about Date of Birth validation.
Wishlist:
1. Be able to collect a date as the date of birth.
2. Be able to test the value of the DoB against the event date (The event date needs to be made available to test against)
If anyone is interested I can share my custom solution which is inelegant but uses an ajax validation.
Looking through the forums a number of customers have asked about Date of Birth validation.
Wishlist:
1. Be able to collect a date as the date of birth.
2. Be able to test the value of the DoB against the event date (The event date needs to be made available to test against)
If anyone is interested I can share my custom solution which is inelegant but uses an ajax validation.
Please Log in or Create an account to join the conversation.
- Andre Baust
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
7 years 1 week ago #108203
by Andre Baust
Replied by Andre Baust on topic Collection of Date of Birth/Use as variable
Hello,
I am interested in your solution. Can you send me your solution?
I am interested in your solution. Can you send me your solution?
Please Log in or Create an account to join the conversation.
- Russell Noble
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 5
7 years 1 week ago #108206
by Russell Noble
Replied by Russell Noble on topic Collection of Date of Birth/Use as variable
Hi,
we setup a date field with the following validattion:
validate[required,custom[date],past[1998-11-13]]
Couldn't get the event date so had to be hard coded.
we setup a date field with the following validattion:
validate[required,custom[date],past[1998-11-13]]
Couldn't get the event date so had to be hard coded.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
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.