DynoToolsDynoTools Docs
Forms & Inputs

Validations & Conditional Rules

Configuring mandatory fields, length limits, masking, and checkIf conditional visibility in DynoTools forms.

Validations & Conditional Rules

Built-In Field Validations

  • is_mandatory: true — Required validator lagata hai aur label ke saath * mark show karta hai.
  • min_length / max_length — Character ya digit count limits enforce karta hai.
  • mask — ngx-mask ke through structured format (0000-0000, Aadhar, Phone, etc.) apply karta hai.
  • is_disabled: true — Field ko read-only/disabled mode me render karta hai.

Conditional Rules (checkIf & Static Data Groups)

DynoTools me fields ek-dusre ke values par depend kar sakte hain:

  • Static Data Dependencies (api_params / call_back_field): Ek dropdown (Country) select karne par dusre dropdown (State) ke options dynamically filter aur load hote hain.
  • Conditional Visibility / Value Calculation: CheckIfService expressions ke basis par fields show/hide kiye ja sakte hain ya formula values auto-populate hoti hain.
  • Grid Selection Linking (grid_selection): Form ke andar modal grid khol kar multiple rows select karke current record ke saath attach kar sakte hain.