Welcome Guest, Not a member yet? Register   Sign In
Validation - Custom callback not behaving as expected?
#8

[eluser]jppi_Stu[/eluser]
Came across this thread almost two years later, while learning about form validation with CI and needing a similar solution (at least one of two fields must be filled, but neither by itself is required). Using code similar to the OP's code, but with the current form_validation library, seems to work. It was necessary, however, to call it only on one of the two fields, otherwise the message would appear once for each field (which makes sense, of course).


Messages In This Thread
Validation - Custom callback not behaving as expected? - by El Forum - 02-04-2008, 07:43 PM
Validation - Custom callback not behaving as expected? - by El Forum - 02-04-2008, 08:33 PM
Validation - Custom callback not behaving as expected? - by El Forum - 02-04-2008, 08:44 PM
Validation - Custom callback not behaving as expected? - by El Forum - 02-24-2008, 12:21 PM
Validation - Custom callback not behaving as expected? - by El Forum - 04-01-2008, 09:08 AM
Validation - Custom callback not behaving as expected? - by El Forum - 04-01-2008, 09:33 AM
Validation - Custom callback not behaving as expected? - by El Forum - 04-01-2008, 08:01 PM
Validation - Custom callback not behaving as expected? - by El Forum - 03-21-2010, 07:42 PM
Validation - Custom callback not behaving as expected? - by El Forum - 03-22-2010, 04:58 PM
Validation - Custom callback not behaving as expected? - by El Forum - 03-22-2010, 06:09 PM
Validation - Custom callback not behaving as expected? - by El Forum - 03-22-2010, 11:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB