Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Up to ValidatorFaq


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

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

Or can I write like this?

No Format
       <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