Hi there,
I've got a client that is trying to build a form and needs some help with JavaScript. I've tried to get this to work for them but I must be missing something. I've read the other Answers and although they are close, it's not exact and therefore is not working.
They have a form with a checkbox item called Field5, with 3 options. So those are Field5-0, Field5-1 and Field5-2.
Then they have over 10 additional check box items, each with 3 options as well. Basically all they want to do is if Field5-0 is checked, check all check box items in Fieldx-0. They don't mind typing it all out (So like Field6-0, Field7-0, Field8-0, and so on).
If Field5-1 is checked, check all the Fieldx-1 (Field6-1, Field7-1, etc)
If Field5-2 is checked, check all the Fieldx-2 (Field6-2, Field7-2, etc)
This seems very straight forward but any code I try for them is not working the way they need it.
Thanks in advance!!