Validation: required_with[field_name] |
Hi,
I would like to know if any one has come across the same issue with validating form data. If I would like to make a field required when a different field is of a certain value. Is there a way to do this with Codeigniter 4 core? Or would this need to be created as a custom rule? PHP Code: 'event_bf' => 'required_with[event_ap.1]' Does anyone know of an implementation out there somewhere? Thanks in advance. |
Welcome Guest, Not a member yet? Register Sign In |