Custom Field validation using a database

1 year 2 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

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

We also recommend

Twitter

sakicnet: RT @LTmujo: @Ridjobrki ma jel to prinova na putu ili su ti oni dani u mjesecu? nek je sa srecom, da jos 10 puta toliko docekate u zdravlju… 1 day ago from Twitter for iPhone

Stay in touch