Welcome Guest, Not a member yet? Register   Sign In
validation library in models
#8

[eluser]Aken[/eluser]
Yes, you can - but just because you can doesn't mean you should. When you set rules, you're basically configuring your validation. Why wouldn't you continue to configure the error messages at the same time? Like I said, it doesn't actually trigger an error message, so there's no reason it can't be done early along with your other settings. And it eliminates potential errors/confusion like this user was experiencing.


Messages In This Thread
validation library in models - by El Forum - 03-05-2012, 09:38 AM
validation library in models - by El Forum - 03-05-2012, 10:30 AM
validation library in models - by El Forum - 03-05-2012, 10:39 AM
validation library in models - by El Forum - 03-05-2012, 10:52 AM
validation library in models - by El Forum - 03-05-2012, 05:31 PM
validation library in models - by El Forum - 03-05-2012, 08:07 PM
validation library in models - by El Forum - 03-06-2012, 12:17 AM
validation library in models - by El Forum - 03-06-2012, 12:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB