Welcome Guest, Not a member yet? Register   Sign In
form_validation bug for required (validation error message not being set)?
#1

[eluser]acesfull9[/eluser]
This has been bothering me for an hour or two.
I have a single field on my form that is required. The exact rules are "trim|required|numeric". Everything works fine except when I submit the form with no input (""). It fails the validation (as it should), but the error message is not being set.

If i submit a space " ", it again, fails the validation as it should, but the error message is set ("The FIELD_NAME field is required.").

Has anyone else noticed this?
Thanks




Theme © iAndrew 2016 - Forum software by © MyBB