Knowledgebase

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 the Form tab, then click Select Fields:

2. Click and drag the pointer to select the group of radio buttons:

3. Right-click the selection and then click Properties in the shortcut menu (or Press Ctrl+`). The Properties pane will open:

4. Make a note of the Field Name property. The Field Name property in this example is "Group1" - highlighted in the image above. (N.b. Groups of radio buttons are seen a single field from a programming perspective).

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

6. Enter the JavaScript detailed below, then substitute "Group2" with the Field Name property noted at step four:

getField("Group2").value=""

7. Click Run. The selected radio buttons will then be cleared.

Was this article helpful?
Yes No Somewhat