Hi,
I plan to set a session using callback_field.And after that want to set the field as hidden.
My code is like this:
$crud->callback_field('function_time',array($this,'set_functiontime_session_callback')); $crud->field_type('function_time', 'hidden');
When I view the page source, there is no hidden field.It seems the callback_field only executed once for one particular field.
Here is my callback function:
function set_functiontime_session_callback($value = '', $primary_key = null){ $this->session->set_userdata('fv_function_time',$value); }
Have I do it wrongly?