Welcome Guest, Not a member yet? Register   Sign In
How to use customer validation rules and error messages
#3

[eluser]jprateragg[/eluser]
Ah. I have lots of fields I will need to do this to. So I'm guessing I'll have to create lots of functions for individual fields to compare post values. I guess that's not that bad as long as I keep all of them in the extended form validation library.

I'm also assuming I can create my own custom error messages for these functions:

Code:
$this->form_validation->set_message('custom_function', 'Error message goes here.');


Messages In This Thread
How to use customer validation rules and error messages - by El Forum - 11-21-2012, 12:40 PM
How to use customer validation rules and error messages - by El Forum - 11-21-2012, 03:54 PM
How to use customer validation rules and error messages - by El Forum - 11-21-2012, 06:24 PM
How to use customer validation rules and error messages - by El Forum - 11-21-2012, 10:46 PM
How to use customer validation rules and error messages - by El Forum - 11-26-2012, 09:46 AM
How to use customer validation rules and error messages - by El Forum - 11-26-2012, 11:41 AM
How to use customer validation rules and error messages - by El Forum - 11-26-2012, 11:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB