Make Radio Button Text Invisible in an Acrobat PDF Form
Question details
Make text associated with a radio button effectively invisible over an image while keeping the button functional.

- Product
- Adobe Acrobat PDF forms
- Device & OS
- not provided
- Scenario
- A radio button in a PDF form displays text over an underlying image.
- Observed behavior
- The user wants the text hidden without preventing selection of the radio button.
Open the PDF in Acrobat and use Prepare a Form to identify the radio button field's exact name. Check whether the visible text belongs to the form field or is separate page content; the script below only changes the field's text size.
Shrink the radio button field text with Acrobat JavaScript
Use a very small text size to make field text effectively invisible when a transparent text color is unavailable.
Acrobat does not provide a transparent text color for form fields. Reducing the text size is a workaround, not true transparency, and may affect the appearance of other buttons in the same field or group.
Open the PDF in Acrobat, choose Prepare a Form, and inspect the radio button's properties to find its exact field name.
Open Acrobat's JavaScript console with Ctrl+J on Windows or Command+J on macOS.
In the console, enter this.getField("MyRadio").textSize = 0.001; and replace MyRadio with the exact field name. Execute the line with Ctrl+Enter on Windows or Command+Return on macOS.
Close the console, select the radio button in the form, and check that the unwanted text is no longer visible and the button still responds. Save the PDF when the result is satisfactory.

Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for viewing and editing PDFs alongside Office documents. Its format compatibility helps you move existing files into one workspace, although it does not fix Acrobat-specific form scripting.

Frequently Asked Questions
Can I make a radio button's text color transparent in Acrobat?
Acrobat does not offer a transparent form-field text color. As a workaround, use the JavaScript console to set the field's textSize to a very small value, such as 0.001.
How do I find the name to use in the script?
In Acrobat, open Prepare a Form and inspect the radio button's properties. Replace MyRadio in the script with the field's exact name.
Will shrinking the text keep the radio button functional?
The field can remain clickable, but the small text size may also make its selection mark hard to see. Select the button after applying the script to check both its behavior and appearance.
Why is the text still visible after I run the script?
Check the field name in Prepare a Form. The visible text may instead be separate page content, which the field's textSize property does not change.
Can Acrobat JavaScript move where the field is drawn?
No. The accepted workaround changes the field's text size; Acrobat JavaScript cannot control its drawing position.




