Knowledge Base

Back to Articles List

Can I use PDF-XChange Editor to clear selected radio buttons?

Question:

Can I use PDF-XChange Editor to clear selected radio buttons?

Answer:

Yes - follow the steps below to clear selected radio buttons:

1. Click Select Fields under the Ribbon UI, then click and drag the pointer to select the group of radio buttons:

2. Right-click the selection and then click Properties. The Widget Properties pane will open:

3. Make a note of the Field Name property. The Field Name property in this example is "Group1." (N.b. Radio button groups are a single field from a programming perspective).

4. Press Ctrl+J. The JavaScript Console will open.

5. Enter the following JavaScript, and use the Field Name property identified in step three to replace "Group1":

getField("Group1").value=""

6. Click Run. The selected radio button will then be cleared.

Was this article helpful?
Yes No Somewhat