Welcome Guest, Not a member yet? Register   Sign In
Validated & Non Validated Form Fields
#3

[eluser]Henry Weismann[/eluser]
Good question. I prefer creating the rules with an empty string but using the post function works well too. I think it is really up to your style of coding. The reason I like doing it by creating the rule is because I only want to use the set_value() method in my views for consistency instead of post on this one set_value on another one and so on. If I ever decide to add a rule or format it with a filter it is a quick thing and I also know all my form fields while working on a controller by looking at my rules.


Messages In This Thread
Validated & Non Validated Form Fields - by El Forum - 12-21-2008, 09:13 PM
Validated & Non Validated Form Fields - by El Forum - 12-21-2008, 09:42 PM
Validated & Non Validated Form Fields - by El Forum - 12-22-2008, 03:12 AM
Validated & Non Validated Form Fields - by El Forum - 12-22-2008, 10:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB