horprogs / Just-validate

Modern, simple, lightweight (~5kb gzip) form validation library written in Typescript, with no dependencies (no JQuery!). Support a wide range of predefined rules, async, files, dates validation, custom error messages and styles, localization. Support writing custom rules and plugins.

Home Page:https://just-validate.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset form input value

tman8291 opened this issue · comments

Hi guys,
this is my first time on GitHub and thank you for a great library. I have a question regarding this library. Lets say that all the validation is successful and the form is submitted, is there a way to reset the actual form input values and reset all the fields settings, clear errors messages/styles/classes.
Note: I have looked at the .refresh method, but i did not achieved what i wanted. thank you