Hello guys.
I would like to modify the fields in a form (show / hide) according to the value selected in a select field.
This process has to be done with two different criteria depending on the selected value.
Return the code I used, can you help me to figure out where I am wrong?
Thanks a lot.
$variable = $this->get_userdata('TIP_P3'); if ($variable == 'TERZI') { $crud->field_type('DT_RISP_BANC', 'hidden', 'default_value'); }