form_add_validation
Add client-side validation rules to any form using schema constraints. Choose Zod, Yup, Joi, or native validation to enforce required fields, min/max, and patterns.
Instructions
Add client-side validation rules to a form based on schema constraints
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema with validation constraints (min, max, pattern, required) | |
| api_key | No | API key for authentication | |
| library | No | Validation library: 'zod', 'yup', 'joi', 'native' | |
| form_code | Yes | Existing form code to add validation to |