Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Checkbox with javascript unexpectedly unchecks other checkboxs

Avatar

Level 1

Hi,

I have a checkbox called applicant_isemailaddress which has onchange javascript

when checkbox applicant_isemailaddress goes to the "on" state, then two other checkboxs on the page get unchecked.

they are called applicant_isMaleSex and applicant_isFemaleSex, I've tried changing the names to no benefit.

removing the above javascript fixes the behaviour

whats the trick??

tia.

Brian

2 Replies

Avatar

Level 10

Hi Brian,

Is it possible you have the checkboxes bound to the same thing?

Regards

Bruce

Avatar

Level 1

its possible I am a newbie.

I put the whole page in the masterpage page1.

moving it to page1 as a page, not a masterpage, it works well.

thanks for comment, it did make me think further what was I doing wrong.