Hidden Field Validation

@sdirix

Hi All,

If you have a hidden field that has an error and is shown/hidden based off of a rule, the error persists even when the field is hidden.

Any ideas?

Best,
Abby

Hi @avwchapman,

The validation is always done form wide and does not take visibility rules into account. To not receive an error in case the corresponding field is invisible, then

  • this constraint must be expressed in the JSON Schema itself, or
  • the validation engine AJV must be customized, or
  • the new middleware support is used to filter the error manually in such cases