CodeIgniter Forums
Validating multiple fields? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Validating multiple fields? (/showthread.php?tid=10373)



Validating multiple fields? - El Forum - 07-29-2008

[eluser]blizeH[/eluser]
Hi,

I'm trying to setup a form on one of our pages, and whenever you submit it for validation it conflicts with the login form situated in the page header.

We've checked that the forms are set-up correctly and there's no problems there; it's only the one form that's being submit, yet for some reason it's validating both and throwing up error messages for the login when it really shouldn't, and vice versa.

We're using the HMVC modular extension too, but I'm not sure if that makes much difference to this; both forms are in separate views and controllers.

Any help or advice would be fantastic, cheers.


Validating multiple fields? - El Forum - 07-29-2008

[eluser]blizeH[/eluser]
Oh, by the way - we've just tried changing the function names (they were the same before) as well as trying hidden fields, but no luck with either unfortunately.