These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to copy a select radio bouton that will only show the selected bouton on the other page

CaQpp
Registered: Dec 7 2010
Posts: 4
Answered

I made a form that need to select a radio bouton that will appear in other place in the document. I made copy/paste but when i fill my form both are selectable. I try to modify my name#2 to put read only but both become read only.

I have 12 pages so i don't what that in all 12 pages my field can be selected, just in the first page and after use the info on the other page.
 
Thanks,

Charles

My Product Information:
Acrobat Pro 9.0, Windows
maxwyss
Registered: Jul 25 2006
Posts: 255
Accepted Answer
In such a situation (a field's value changable on one page, but not on any others), we use a "shadow field", which is a copy of the master field, with the same properties, except that it is read-only. The field name can be very similar, such as in "myField" for the master field and "myField_1" for the shadow field.

If the field is a checkbox or a radio button, we would use the following script in the MouseUp event of the master field:

this.getField("myField_1").value = event.target.value ;

If the field is a text field, we would use the following script in the Validate event:

this.getField("myField_1").value = event.value ;

and that should do it.

Note that because of a weakness ... ehhh... bug, it could be that the propagation of the values does not properly work for checkboxes and radiobuttons; in that case, we would have to create individual sets of shadow fields (myField_2, myField_3, etc.) and repeat the above line of code accordingly (or use a simple loop) to update the shadow fields.

Hope this can help.