Custom Field validation using a database
- abramesd
- Topic Author
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
3 years 7 months ago #8258
by abramesd
Hello,
I am looking to validate a Customer Field using a call to a database,
The User would enter their Membership ID while creating their User Profile. Once they have entered the full ID (6 digits) I want to do a database check to see if the Membership ID is valid. If it is then validation passes other it fails.
I also want to be able to limit the number of attempts and after the limit is reached the page is cleared and the registration page is closed.
If you have any examples of custom field validation besides the Regular Expression validation I would appreciate your assistance.
Thank you
David Abrames
I am looking to validate a Customer Field using a call to a database,
The User would enter their Membership ID while creating their User Profile. Once they have entered the full ID (6 digits) I want to do a database check to see if the Membership ID is valid. If it is then validation passes other it fails.
I also want to be able to limit the number of attempts and after the limit is reached the page is cleared and the registration page is closed.
If you have any examples of custom field validation besides the Regular Expression validation I would appreciate your assistance.
Thank you
David Abrames
Please Log in or Create an account to join the conversation.