Alex Rivera | Logout

codeigniter form validation set_value works only for the fields which have rules

Asked 2011-04-12T12:00:29.233
10

Suppose if I have two fields in my form viz first_name and last_name

I have set the validation rule only for first_name.

set_value should work for both the fields regardless of rule ? right ?

For me it works only for the fields which have rules with them !!!

Edit
Report

1 Answer

0

If you need set_checkbox support see this code.

MY_form_helper.php with set_checkbox support

answered 2011-12-01T17:16:34.190

Your Answer