Conditional validation using abide in rails? -


i have 2 fields , need check @ least 1 field has value rather validating both. example need either phone number field or email field filled. how can using foundation abide? please me

thanks in advance!

so don't want implement backend validation, on client? stumbled on validate.js. able add custom validators easily.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -