New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show custom Validation error messages #1325
Labels
Comments
The majority of browsers already offer validation (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#validation) If you want to do custom validation messages you can use hook into the submit event and provide a custom messages A custom type attr can be added called 'pattern' to set a regex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
we want to generate a dynamic form using drag and drop form builder .In that form there are email and phone number text fields, we would like to add custom validation and custom error message , Is that possible to show validation message?
Ex: if we generate an email field we should give a regex for validation , while typing the value if regex appears wrong.
The validation message should appear below the text field as "Enter a valid email".
The text was updated successfully, but these errors were encountered: