Validate file if a select is... |
i , sorry for english , i want validate a form with a select and file , only if select value is 6 the file must be uploaded .
How can i create this rule ? this is my code: Code: <select id='id_id_stato_pratica' class="form-control border border-warning mxn-shadow-input mb-4" name='id_stato_pratiche' > This is my validation but don't work : Code: public function validate_pratica_completata(string $str,string $fields, array $data) |
Messages In This Thread |
Validate file if a select is... - by pippuccio76 - 03-16-2021, 01:06 PM
RE: Validate file if a select is... - by iRedds - 03-17-2021, 02:16 AM
RE: Validate file if a select is... - by pippuccio76 - 03-17-2021, 02:18 AM
RE: Validate file if a select is... - by kenjis - 03-17-2021, 05:21 PM
RE: Validate file if a select is... - by pippuccio76 - 03-18-2021, 12:46 AM
|