What is a good library for form validation with conditional validation?

I used jsvalidate , but this does not meet my conditional check requirement for what I want to do; I want to make a couple of fields necessary only if the selection was previously marked as “yes”.

I studied mootools formcheck , it seems a little more enjoyable and enjoyable than the jquery validation plugin , but I don't know if I will allow to do conditional validation. What should I choose to facilitate my work?

+3
source share
1 answer

I used Ketchup , another jQuery form validation plugin. You can write your own validators using jQuery to use custom conditions.

+2
source

Source: https://habr.com/ru/post/1762975/


All Articles