Support Article
Clicking label of checkbox enables it on a different tab
SA-50394
Summary
In a repeating Tab layout, clicking the label of a check box enables it on a different tab.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a repeating Tab layout with a minimum of two tabs on the screen
- Include a check box in the layout
- Click the label of the check box in the second tab. This enables the check box on the first tab
Root Cause
When there are multiple tabbed repeating layout configured with same check boxes this issue exists. This is treated as an invalid use case as per HTML standards. The Document Object Model (DOM) always evaluates unique IDs from the top level.
Resolution
Perform the following local-change: Add the below snippet in UserWorkForm:
<script>
$("span.checkbox label.cb_standard").click(function(event){
$(event.target).siblings("input.checkbox").trigger("click");
event.preventDefault();
event.stopPropagation();
});
</script>
Published March 8, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.