Skip to content

Commit

Permalink
44694 update js for hidden & required checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
yeneastgate committed Jul 1, 2024
1 parent ae83a45 commit d891ff3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/checkbox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion js/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,19 @@ onOffice.checkboxAdmin = function() {
element: "input[name=oopluginforms-recipient]",
invert: true
}
]
],
"input[name^=oopluginformfieldconfig-hiddenfield]": [
{
element: "input[name^=oopluginformfieldconfig-required]",
invert: true
},
],
"input[name^=oopluginformfieldconfig-required]": [
{
element: "input[name^=oopluginformfieldconfig-hiddenfield]",
invert: true
},
],
};
};

Expand Down

0 comments on commit d891ff3

Please sign in to comment.