Function set_value() not working as expected |
[eluser]cwt137[/eluser]
Hello, Attached is a patch against the SVN trunk that I hope corrects the issue with set_value() and the form field name being an array. The problem was that set_value() doesn't take into account that the form field might be an array like set_radio() and the other set methods inside the form_validation class. So, I copied the code from set_radio() and modified it. I also modified the form helper class too to do the same thing. But, the form_helper class doesn't seem to work unless you define a validation rule. That is probably a different bug or just me coding something wrong. I'll post a note for this patch in bug #6446 |
Welcome Guest, Not a member yet? Register Sign In |