Welcome Guest, Not a member yet? Register   Sign In
Custom Form Validation Rules
#1

[eluser]GamingFusion[/eluser]
I have been doing some research to find out how i can create my own form validation rules.

At least i dont think i have found what im looking for.

Way One: Create my own Form Validation rules like "in_database" which would return true or false depending if what is submitted in the form is in the database.

Basically i want to display is a user email and/or password is incorrect it displays it like all the other form validation errors.

is this possible is there any other way to do it that would be easier than the way i suggested above
#2

[eluser]crikey[/eluser]
Use a callback in the rules for one of the fields. I guess that'd be easier than writing your own rules.

Cheers,
Grant




Theme © iAndrew 2016 - Forum software by © MyBB