We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gw-none-of-the-above-checkbox.js
disable_nota
disableNota
1 parent a3f4094 commit 0340badCopy full SHA for 0340bad
gravity-forms/gw-none-of-the-above-checkbox.js
@@ -21,7 +21,7 @@
21
*/
22
$( '.gw-none-of-the-above' ).each( function() {
23
24
- var disable_nota = false;
+ var disableNota = false;
25
var $field = $( this );
26
var $last = $field.find( '.gchoice:last-child input' );
27
var $others = $field.find( 'input' ).not( $last );
@@ -46,7 +46,7 @@ $( '.gw-none-of-the-above' ).each( function() {
46
} );
47
48
$others.on( 'click', function() {
49
- if ( $others.filter( ':checked' ).length && disable_nota ) {
+ if ( $others.filter( ':checked' ).length && disableNota ) {
50
$last.prop( 'disabled', true );
51
} else {
52
$last.prop( 'disabled', false );
0 commit comments