Exclude hidden fields
See original GitHub issueHi,
with parsley 1.x it was possible to exclude fields that are not visible with the following snippet from the 1.x docs:
$( '#form' ).parsley( 'addListener', {
onFieldValidate: function ( elem ) {
// if field is not visible, do not apply Parsley validation!
if ( !$( elem ).is( ':visible' ) ) {
return true;
}
return false;
}
} );
This is currently not possible with version 2.0 or did I miss something?
Best regards Matthias
Issue Analytics
- State:
- Created 10 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Exclude hidden form fields from submit - Stack Overflow
I'm hiding/showing a div based on the state of a checkbox. <input type= ...
Read more >How to exclude hidden fields from the email notification ...
Just follow the guide I'm linking below then remove/delete all the hidden fields you don't want to be shown on the email. Complete...
Read more >Forms 11 - When 'Ignore hidden fields' Field Rules get... ignored
I created a simple form with a single line field shown/hidden based on a checkbox, set it to ignore the value when hidden,...
Read more >Exclude hidden columns from printing - Airtable Community
Hi, I would like to print an airtable view and exclude certain columns from ... Are you sure you printed the View with...
Read more >How to Ignore hidden elements #32 - sha256/Pristine - GitHub
I have dependent fields in the form. How to ignore hidden fields from validation. ... Hidden fields are ignored by default.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried to add
:hidden
to theexcluded
option?antongorodezkiy I second that. Thanks for your help!