custom validation dinamic |
(05-03-2024, 10:22 AM)ozornick Wrote: See https://codeigniter4.github.io/userguide...parameters my first parameter is a radio button , 0 or 1 value ar always passed but i must check if is 0 or 1 ad check other parameter passed . I have a form with more than 10 field that must required only if first parameter is 1 . My idea was send parameter dinamically ,without $data['name_of_first_parameter] and $data[name_of_second_parameter] , because first parameter is always same name but second change for every field and i must create ten custom rules (instead one), it's possible ? |
Messages In This Thread |
custom validation dinamic - by pippuccio76 - 05-03-2024, 10:04 AM
RE: custom validation dinamic - by ozornick - 05-03-2024, 10:22 AM
RE: custom validation dinamic - by pippuccio76 - 05-03-2024, 10:36 AM
RE: custom validation dinamic - by ozornick - 05-04-2024, 12:49 AM
RE: custom validation dinamic - by pippuccio76 - 05-06-2024, 01:16 AM
RE: custom validation dinamic - by ozornick - 05-06-2024, 05:12 AM
|