Skip to content

Commit

Permalink
gpcc-copy-multiple-checkboxes-to-list-field.js: Updated form ID to …
Browse files Browse the repository at this point in the history
…use GFJS variable.
  • Loading branch information
spivurno authored Dec 12, 2022
1 parent 211e680 commit 8d15a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gp-copy-cat/gpcc-copy-multiple-checkboxes-to-list-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ gform.addFilter( 'gpcc_field_group', function( $group, field, groupType, $field
return $group;
}
// Update "1" to your first Checkbox field ID and "2" to your second Checkbox field ID.
$group = $( '#field_605_1, #field_605_2' ).find( 'input:checked' );
$group = $( '#field_GFFORMID_1, #field_GFFORMID_2' ).find( 'input:checked' );
return $group;
} );

0 comments on commit 8d15a44

Please sign in to comment.