change_field_type not working...
- Single Page
Posted 09 May 2012 - 15:55 PM
$crud->fields('username','email','password','password_confirm','first_name','last_name','company','phone','grupos');
$crud->change_field_type('password','password');
$crud->change_field_type('password_confirm','password');
password_confirm does not exists in the database table, is just for confirm purpose.
but it doesnt change to "password type".
this doesn't work with files that doesnt exists in the table?
What I did to get it worked is a $crud->callback_add_field('password_confirm',array($this,'cb_password_confirm'));
that returns the input file type password.
Posted 09 May 2012 - 18:34 PM
Posted 21 May 2012 - 21:35 PM
Posted 22 May 2012 - 20:09 PM