Skip to content

First important decision in validations

Single validation vs Collection of validations

This choice is not UI fluff. It fundamentally changes how your rule behaves, how errors are reported, and how users should think.

If you don’t explain this upfront, everything after becomes noise.


1. What this choice actually means (plain truth)

Single validation

Single validation

You are answering one question.

“Does this element comply with rule X?”

Characteristics:

  • One condition
  • One validator
  • One error message
  • Pass / fail per element

This is 70% of all good rules.

Typical use cases:

  • Required parameter exists
  • Value is in a lookup list
  • Value matches regex
  • Boolean is Yes/No
  • Numeric value within range

If you are unsure start here.