Welcome Guest, Not a member yet? Register   Sign In
Use Validation Rules without loading a page from a controller
#4

[eluser]Phil Sturgeon[/eluser]
Agreed, I answered the question in the title without reading all of the post. You want to make a controller that the form can be sent to, no matter what page the form is being shown on.

Example, have a controller called account.php then have a method called login() which will have the validation in. Set the form action to /account/login and bingo.

You only have the validation in one page and you have the effect you wanted.


Messages In This Thread
Use Validation Rules without loading a page from a controller - by El Forum - 07-17-2007, 05:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB