Welcome Guest, Not a member yet? Register   Sign In
Form re-population with no rules set
#1

[eluser]dmitrybelyakov[/eluser]
Hey!

I experience some problems with new 1.7.0 Validation Class.
When i re-populate the form with submitted data it doesn't actually show up if the field has no rules attached in the controller (with set_rules() function). It may have any rule attached - like required trim or just anything. It just has to be there in the rules list.

This seems strange. Am I the only one who has this problem?

I did some testing with examples from the manual (controller & form view) and the problem remains.
If i remove validation from any of the fields in the tutorial - re-population stops working.

Is this the correct behavior?


Messages In This Thread
Form re-population with no rules set - by El Forum - 12-15-2008, 09:39 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 09:44 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 09:45 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 09:47 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 10:12 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 10:38 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 10:44 AM
Form re-population with no rules set - by El Forum - 12-15-2008, 01:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB