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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -