I'm creating forms for use in a clinical office which has multiple addresses and multiple practitioners. For several of these forms, the address of the office needs to be present in several locations. I have set up my forms so that at the top of each form is a series of checkboxes containing the addresses of our various offices. I cannot figure out if there is a way to make it so that once an address is checked at the top of the form, other text fields in the form will be auto-populated with that address information, rather than having to type out the address separately.
there are several ways of doing this, but I just wanted to clarify - you say you are using checkboxes rather than radio buttons, so does that mean more than one can be checked and so multiple addresses are used?
If not and only one can be selected you should change to radio buttons and then put in the exit event of the radio button group, in formcalc:
if ($ == 1) then
textbox1 = "address 1......"
textbox2 = "address 1......"
elseif ($ == 2) then
textbox1 = "address 2......"
textbox2 = "address 2......"