Skip to main content
Participant
Aug 9, 2017 2:28 PM UTC
Question

Working with JS and checkboxes

Hello,

I am currently working with a form that has several check boxes for a mutually exclusive checkboxes for a row series. Based on the check box selected, a corresponding text box will be populated with the applicable data (done using javascript). Also, when a certain option is checked, there are other options down below in the order guide that need to be checked simultaneously. I have accomplished this, but now I cannot figure out how to have check boxes populate simultaneously, but then if I check a different box in one of the previously automated series, that it will uncheck the other check box in the series automatically. I have searched and searched for an answer, but cannot find the solution. Please help!

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

Participant
Aug 9, 2017 2:30 PM UTC

Here is a snip of what the form looks like...

For instance, when MTec6 is selected, Top Center Hole needs to automatically check "Yes". It currently does this, but then if I want to change Top Center Hole to "No", it will unselect MTec6 above

Translate
Bernd Alheit
Community Expert
Community Expert
Aug 9, 2017 2:39 PM UTC

This happens when you use the same name and export value for the check boxes.

Translate
Participant
Aug 9, 2017 2:41 PM UTC

Do you have a suggestion as to what I should do differently?

Translate