Welcome Guest, Not a member yet? Register   Sign In
Form validation and Drop down list
#4

[eluser]danmontgomery[/eluser]
You lose error messages because they aren't persistent across page views. In order to keep them you'd have to save them to the session (flashdata, most likely) before redirect, which is all a bit of a hassle.

What you should be doing if form validation fails is re-displaying the form, with the validation errors. There's a pretty thorough explanation of this in the user guide.


Messages In This Thread
Form validation and Drop down list - by El Forum - 04-18-2011, 07:58 AM
Form validation and Drop down list - by El Forum - 04-18-2011, 08:01 AM
Form validation and Drop down list - by El Forum - 04-18-2011, 08:41 AM
Form validation and Drop down list - by El Forum - 04-18-2011, 08:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB