In CodeIgniter there is the possibility of creating validation rules ( rules ) for each form field, but what I need is a validation between two fields. I explain:
The form has a field called url
which is only required if the corresponding flag is selected.