Up to ValidatorFaq


My question is:
if a field is a condition required date field, then i must write like

       <field property="periodTo" depends="requiredif,date">

Or can I write like this?

       <field property="periodTo" depends="date,requiredif">

That's how it works by design. required or requiredif need to come before optional validations. Validations like date won't fire unless there's some actual data.


Up to ValidatorFaq

  • No labels