Welcome Guest, Not a member yet? Register   Sign In
Question about form_validation callbacks
#1

[eluser]Unknown[/eluser]
CI form error is return 1 by 1 so means
if i have 2 fields are required and it will return
"field_1 is required"
"field_1 is required"

and now i want to create my own error which if 2 fields are empty and only return 1 error msg
"fields_1 and field_2 are required"

how do i do this with callback?


Messages In This Thread
Question about form_validation callbacks - by El Forum - 07-05-2012, 06:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB