- Posts: 48
- Thank you received: 2
Data validations?
- Martin Beaumont
- Topic Author
- Offline
- Senior Member
-
Less
More
4 years 1 week ago - 4 years 1 week ago #146236
by Martin Beaumont
Data validations? was created by Martin Beaumont
Hi there,
I'm having some issues trying to work out (& understand) custom validations for a few fields I have.
I've read the JD documentation on Validate Field Data plus the jQuery-Validation-Engine on Github and to be honest I'm none the wiser.
It's three simple validations I'm trying to configure on the registration form
1. Only allow a 10 digit number starting with a “3”?
2. I have two phone number fields that shouldn't be the same. So I need to validate they are not equal.
3. Date input that if before today, is rejected.
Any ideas how I might construct these?
Much appreciated
Martin
I'm having some issues trying to work out (& understand) custom validations for a few fields I have.
I've read the JD documentation on Validate Field Data plus the jQuery-Validation-Engine on Github and to be honest I'm none the wiser.
It's three simple validations I'm trying to configure on the registration form
1. Only allow a 10 digit number starting with a “3”?
2. I have two phone number fields that shouldn't be the same. So I need to validate they are not equal.
3. Date input that if before today, is rejected.
Any ideas how I might construct these?
Much appreciated
Martin
Last edit: 4 years 1 week ago by Martin Beaumont. Reason: Spelling
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 years 1 week ago #146245
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Data validations?
Hi Martin
From your list of items, only the last items is supported using this validation rules github.com/posabsolute/jQuery-Validation...nother-elements-name
For the two other items, it is not supported, so I guess you will have to implement custom validation rules yourself membershipprodoc.joomservices.com/basic-...ld-custom-validators
Regards,
Tuan
From your list of items, only the last items is supported using this validation rules github.com/posabsolute/jQuery-Validation...nother-elements-name
For the two other items, it is not supported, so I guess you will have to implement custom validation rules yourself membershipprodoc.joomservices.com/basic-...ld-custom-validators
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.