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
Post a Comment