It would help if there was a node for:
Enhancing the Form node with extended validation attributes.
My use case:
Currently, the Form node lacks flexible validation options for input fields. It would be very useful if we could define validation constraints directly within each input, such as:
minLength/maxLengthpattern(regular expressions)min/maxfor number inputsstepfor controlling number precisionrequiredfields- Custom error messages for invalid inputs
This would eliminate the need for additional Function nodes just to validate user inputs, reduce errors, and improve user experience.
Any resources to support this?
- Standard HTML input validation attributes: MDN Web Docs - HTML Form Input Attributes
- Example: Many form builder tools support these options for robust input handling.
Are you willing to work on this?
Yes, I would be happy to contribute and work on this feature.