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. On the Form tab, 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 (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." (N.b. Radio button groups are a single field from a programming perspective).

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

6. Enter the following JavaScript, substitute the Field Name property identified in step four to replace "Group2":

getField("Group2").value=""

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

Was this article helpful?
Yes No Somewhat