- Posts: 31
- Thank you received: 0
Wrong date of birth in many registrations lately
- John
- Topic Author
- Offline
- Junior Member
-
Less
More
4 years 3 months ago #140586
by John
Wrong date of birth in many registrations lately was created by John
We are noticing that the date of birth field for registrations is often, lately, coming back with the date the person registers for an event instead of their actual date of birth. The default for selecting a date in a form field opens a calendar and defaults to the current date I believe (see image included here).
One person who registered recently swears he entered his date of birth and also gender and it came back with the wrong date and gender. hah!
I think in 99.9% or more of cases, no one registering would have a date of birth of the day they registered. Is there a way to improve the date selection form field to help prevent these issues?
Thanks.
One person who registered recently swears he entered his date of birth and also gender and it came back with the wrong date and gender. hah!
I think in 99.9% or more of cases, no one registering would have a date of birth of the day they registered. Is there a way to improve the date selection form field to help prevent these issues?
Thanks.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 3 months ago #140591
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Wrong date of birth in many registrations lately
Hello John
Not sure how you want to change date of birth field? It is a Joomla core calendar date picker and I am afraid of it could not be changed
Regards,
Tuan
Not sure how you want to change date of birth field? It is a Joomla core calendar date picker and I am afraid of it could not be changed
Regards,
Tuan
The following user(s) said Thank You: John
Please Log in or Create an account to join the conversation.
- John
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
4 years 3 months ago #140592
by John
Replied by John on topic Wrong date of birth in many registrations lately
Thanks for the quick reply.
Is there any way to use any validation on the field input, say a date range? So, if someone accidentally left it at the date they registered, instead of selecting their actual date of birth, it gave an error?
Is there any way to use any validation on the field input, say a date range? So, if someone accidentally left it at the date they registered, instead of selecting their actual date of birth, it gave an error?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 3 months ago #140612
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Wrong date of birth in many registrations lately
Hello John
The extension uses this library posabsolute.github.io/jQuery-Validation-...nother-elements-name for validation form data
In your case, I think you can edit the custom field, look at Validation Rules setting, and use the following rules for your field:
- posabsolute.github.io/jQuery-Validation-...nother-elements-name
- posabsolute.github.io/jQuery-Validation-...nother-elements-name
Please try that to see if it works
Tuan
The extension uses this library posabsolute.github.io/jQuery-Validation-...nother-elements-name for validation form data
In your case, I think you can edit the custom field, look at Validation Rules setting, and use the following rules for your field:
- posabsolute.github.io/jQuery-Validation-...nother-elements-name
- posabsolute.github.io/jQuery-Validation-...nother-elements-name
Please try that to see if it works
Tuan
The following user(s) said Thank You: John
Please Log in or Create an account to join the conversation.
- John
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
4 years 3 months ago - 4 years 3 months ago #140646
by John
Replied by John on topic Wrong date of birth in many registrations lately
Hi Tuan. Thanks for the info. Attached is screenshot showing how I have entered the validation rules in the field data. When I type today's date, there is no validation error in the field on the form. If i type a date in the future, an error shows.
When I use this "validate[required,custom[date],past[01-01-2021]]" then it gives an error if today's date (or any date past 1-1-21) so that might work for us for now, and should not need to be changed for a while.
When I use this "validate[required,custom[date],past[01-01-2021]]" then it gives an error if today's date (or any date past 1-1-21) so that might work for us for now, and should not need to be changed for a while.
Last edit: 4 years 3 months ago by John.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 3 months ago #140733
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Wrong date of birth in many registrations lately
OK John. Then please use this setup for now
Regards,
Tuan
Regards,
Tuan
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.