Welcome Guest, Not a member yet? Register   Sign In
form_validation->set_message
#1

[eluser]Narkboy[/eluser]
Hi - I'm new to the forum, so Hi!, and to CI, which in 3 days is already making life a _lot_ easier - fantastic!

I have a small issue with form_validation.. I've set individual error messages for the rules I'm using which all works fine, but I what I want to do is to have a message at the top of the form saying 'Sorry- validation error, see below'. I thought of just adding it as $data before sending it to the view, but this will appear on the first showing of the form.

So - how do I change the validation_errors() to read a specific string?


Thanks in advance!!

/N


Messages In This Thread
form_validation->set_message - by El Forum - 03-04-2009, 05:30 PM
form_validation->set_message - by El Forum - 03-04-2009, 05:48 PM
form_validation->set_message - by El Forum - 03-05-2009, 04:11 AM
form_validation->set_message - by El Forum - 03-05-2009, 04:28 AM
form_validation->set_message - by El Forum - 03-05-2009, 05:44 AM
form_validation->set_message - by El Forum - 03-05-2009, 05:51 AM
form_validation->set_message - by El Forum - 03-05-2009, 05:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB