I have a radio button and when choice[0] is selected then the value of field1 needs to match the value of fieldx… and so on. Here’s what I have that doesn’t work:
frm=document.forms[0];
if(frm.choice[0].checked) {
frm.field1.value = frm.fieldx.value
} else etc…
Thanks in advance for any advice!