Multiple row update

#5
[eluser]cahva[/eluser]
No, you cannot do that if you are defining rules to form validation. You only have to create the rules like this:
Code:
$config = array(
    array(
        'field' => 'FirstName[]',
        'label' => 'First Name',
        'rules' => 'required'
    ),
    array(
        'field' => 'LastName[]',
        'label' => 'Last Name',
        'rules' => 'required'
    ),
    array(
        'field' => 'ID[]',
        'label' => 'ID',
        'rules' => 'required'
    )
);

$this->form_validation->set_rules($config);


Messages In This Thread
Multiple row update - by El Forum - 01-23-2011, 03:45 PM
Multiple row update - by El Forum - 01-23-2011, 04:18 PM
Multiple row update - by El Forum - 01-23-2011, 08:50 PM
Multiple row update - by El Forum - 01-24-2011, 02:30 PM
Multiple row update - by El Forum - 01-24-2011, 04:18 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.