While using ParsleyJS to validate my forms, I noticed the validations are performed only after the users clicks the submit button. Is there a way to perform the validation while the user is typing the input? Something like an onkeyup() event.
While using ParsleyJS to validate my forms, I noticed the validations are performed only after the users clicks the submit button. Is there a way to perform the validation while the user is typing the input? Something like an onkeyup() event.
Share Improve this question edited Aug 18, 2016 at 14:32 Hillel Garcia asked Aug 18, 2016 at 14:26 Hillel GarciaHillel Garcia 1091 silver badge12 bronze badges 1- please share the program you used, and errors. – Sachith Muhandiram Commented Aug 18, 2016 at 14:45
2 Answers
Reset to default 7Try This data-parsley-trigger="keyup"
Set the trigger
option to 'input'
.