javascript - Is there a way to do partial parsley.js validations? -


i creating page long form i'd have 2 action buttons: 'save' , 'submit'. 'save' identical 'submit' except run subset of built-in parsley validations, namely 'required' , 'pattern'. parsley documentation doesn't seem address this. parsley allow this, or there elegant work-around? idea far run validations on page, use css hide irrelevant error messages, , consider form 'validated' long there no error messages regarding subset of validations i'm testing for 'save'.

there no way run subset of validation types parsley.

you should consider removing , adding data-attributes other validations want before , after save?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -