Hi
I´m having a problem with set_relation_n_n, I can´t save the data. The field with relation it´s also a required field.
Here´s my code
$crud->set_relation_n_n('rol_nombre', 'uxr_usuarioxrol', 'rol_roles', 'uxr_id_rol', 'uxr_id_user', 'rol_nombre');
$crud->required_fields('username','activated','rol_nombre');
The console doesn´t show an error. It´s always displaying on the screen the message "The field Rol is required"
Please, help me.