“What are the steps for creating forms with validation in the design process?”
Each element in the form component has a validation property.
Types of Validations:-
| Type | Description |
|---|---|
| minLength | shows an error if the length of the input is less than the minimum length defined here. |
| maxLength | shows an error if the length of the input is more than this value |
| minValue | shows an error if the input is a number and that number is less than this value |
| maxValue | shows an error if the input is number and that number is more than this value |
| regex | shows an error if the input does not match with the regex defined here |
| minItemsSelected | Used in a LOV type element, shows an error if the selected lov items are less than this value |
| maxItemsSelected | Used in a LOV type element, shows an error if the selected lov items are more than this value |
1 Like
