Welcome Guest, Not a member yet? Register   Sign In
Form Validation config called by URL not Method?
#1

[eluser]theshiftexchange[/eluser]
Hi guys,

I've got a small issue with Form Validation class.

Basically I've got a lovely form_validation.php file setup with all my form validation in there. It works on all my forms and is nice and clean.

However, I've discovered that the config file seems to be called by what URL is entered, rather than what method is called?

For example, I have a controller called "auth", with a method called "reset_password()"

If I go to:

/localhost/auth/reset_password

the form will be correct validated as per my config file. But if I call:

localhost/auth/reset_password/3213/42132135

and pass some variables to the method, the form validation is not performed because the config file is never called.

Is this a bug? Or am I missing something?


Messages In This Thread
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 08:47 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 08:52 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 09:03 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 09:13 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 09:18 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 09:52 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 09:54 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 10:01 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 10:02 AM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 12:16 PM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 12:19 PM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 01:38 PM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 01:53 PM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 01:57 PM
Form Validation config called by URL not Method? - by El Forum - 05-15-2009, 02:11 PM
Form Validation config called by URL not Method? - by El Forum - 05-16-2009, 07:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB