HTML5 Form Validator Support Product Page

Answered

How to reset the css validation style (success/error) to normal/default when form is reset

Asked 21 Mar 2017 05:45:09
1
has this question
21 Mar 2017 05:45:09 Firdaus Rohman posted:
I've tried to remove the class using javascript but this doesn't work everytime and would break the future validation style.

I need this when the form with validation to be reset is located inside modal, collapse, or tab because I only need to reset the form and maintain the current element state, without reloading entire page. When the form is reset, the validation style should be removed.

Replies

Replied 21 Mar 2017 07:26:13
21 Mar 2017 07:26:13 Teodor Kuduschiev replied:
Hello,
Unfortunately this is not possible. The form field validation is only removed/update on field change or on submit/reload the page.

Reply to this topic