I am using simple-form for a form. I have switched to using ajax to submit the form, and I would like to validate the form client-side, preventing submission and display any errors. I am currently using binding to ajax:beforeSend and checking all the required fields, but how do I display the helper text and error messages? Do I need to do that manually?
Check out Validity . It is specifically for doing this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.