Laminas Project Community
How to require a field only if some condition is true?
Questions
Components & MVC
laminas-inputfilter
ALTAMASH80
February 10, 2023, 2:44pm
4
Hi
@valdinei
,
The answer given in
this post
by
@froschdesign
might help you. Thanks!
show post in topic
Related topics
Topic
Replies
Views
Activity
Form Fieldset Validation
Components & MVC
laminas-form
,
laminas-mvc
,
laminas-validator
6
345
April 20, 2023
Date field validation
Components & MVC
laminas-form
,
laminas-validator
8
457
February 16, 2023
Why does InputFilter allow_empty + required with ArrayInput differ to regular Inputs?
Components & MVC
laminas-inputfilter
3
37
December 10, 2024
Laminas validator chain, it works as all the conditions must satisfied then pass, how to make it one condiction satisfied then pass?
Components & MVC
laminas-form
2
335
July 14, 2021
Why allow_empty is ineffective?
Components & MVC
laminas-form
,
laminas-inputfilter
1
633
September 1, 2022