Topic: Form validation
Jakub Mandra staff premium answered 6 years ago
Belovol pro answered 6 years ago
ppotter10 answered 5 years ago
Belovol's answer didn't work for me, but you can call a function reportValidity():
e.target.reportValidity()
This returns true if the form is valid and false otherwise. @staff: would be nice to document this.
Piotr Glejzer staff commented 5 years ago
Thanks for the report, we will add this to our docs. Have a nice day!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.1
- Device: 4xIntel Core i7-4510U CPU @2 GHz
- Browser: Google Chrome V- 68.0.3440.8
- OS: openSUSE Leap 42.3
- Provided sample code: No
- Provided link: Yes