help with Form Validation |
[eluser]GSV Sleeper Service[/eluser]
ok, what am I doing wrong? I can't for the life of me figure out how to get set_radio() to work. Code: //controller snippet that 'yes' radio button is never checked by default, it should be according to the docs. any ideas? right, I traced this through the helper into the form_validation library and found this. Code: if ( ! isset($this->_field_data[$field]) OR ! isset($this->_field_data[$field]['postdata']))
[eluser]InsiteFX[/eluser]
It's in the user guide. Code: $this->form_validation->set_rules('username', 'Username', 'callback_username_check'); Form HelperForm Validation Enjoy InsiteFX
[eluser]GSV Sleeper Service[/eluser]
er, that has got nothing to do with my question.
|
Welcome Guest, Not a member yet? Register Sign In |