Answers for "not required a field when checked not applicable checkbox in laravel validation"

PHP
1

not required a field when checked not applicable checkbox in laravel

// when some checked no checkbox and description field not required otherwise required
'description' => 'required_unless:descriptionNotApplicable,yes|max:150'
Posted by: Guest on October-14-2021

Code answers related to "not required a field when checked not applicable checkbox in laravel validation"

Browse Popular Code Answers by Language