- Posts: 69
- Thank you received: 0
Custom Field with validation: minimum age (birthdate)
- Melissa
- Topic Author
- Offline
- Senior Member
Less
More
5 years 9 months ago #115328
by Melissa
Custom Field with validation: minimum age (birthdate) was created by Melissa
Can you please advise how I should set up a custom field such that a registrant must enter their birthdate, and will only be allowed to register if they are over a certain age (9 years old)?
Screenshot with what I think it should look like attached. Am I getting this right?
Thanks!
Melissa
Screenshot with what I think it should look like attached. Am I getting this right?
Thanks!
Melissa
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 9 months ago #115335
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field with validation: minimum age (birthdate)
Hi Melissa
Yes. The setting look correct to me. However, next year, you will have to change the date manually in the custom field to 20/08/2010 (increase one year)
For the default values setting, please leave it empty
Regards
Tuan
Yes. The setting look correct to me. However, next year, you will have to change the date manually in the custom field to 20/08/2010 (increase one year)
For the default values setting, please leave it empty
Regards
Tuan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
5 years 9 months ago #115336
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field with validation: minimum age (birthdate)
Just for information, if someone uses latest version, you can simply set Server Validation Rules to age:9 and it will work OK (no need for changing the date manually like in your server
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 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.