Update checkboxes based on the export value of another checkbox
I hope I titled the subject correctly. I have 4 checkboxes all with the same name ("AccountOwnershipType") and with different export values ("Individual", "Joint", "UTMA", "RepPayee").
In the next section, I have 3 checkboxes all with the same name ("Joint1Type") and with different export values ("Joint", "UTMA", "RepPayee").
What I am trying to do is this:
If AccountOwnershipType = Joint then Joint1Type = Joint
If AccountOwnershipType = UTMA then Joint1Type = UTMA
If AccountOwnershipType = RepPayee then Joint1Type = RepPayee
I cannot simply just reuse the box again as this shows up in another place later in the document that is not so straightforward. If I could figure out how to write the code to make this work it will correlate for me for the part later in the document.
I have attempted all sorts of mouseUp scripts and just cannot get it to work. Please help!
Thank you!