Copy link to clipboard
Copied
I've got a radio button and a text field. If somebody clicks "Red" on the radio button, I'd like the text field to be greyed out and disabled. If they click "Blue" on the radio button, then the text field should look normal and be enabled for writing.
How do I access the code for the radio button (mouseup event?) to make this happen?
Digitalrebel,
I assume you are using Acrobat DC, yes you can use Forms> Edit. Rest of steps are same ...
Regards,
Tariq Dar.
Copy link to clipboard
Copied
Hello,digital rebel
This may be achieved using the JavaScript, here is an example: How to I activate/deactivate form field text boxes by clicking a check box field on and off? (PDF Fo...
To access JavaScript for an object (text field or Radio button). When you are in Prepare form mode, right click on say text box and choose properties > Actions. Select the trigger option and then Selection Action (Choose JavaScript).
Regards,
Tariq Dar.
Copy link to clipboard
Copied
Thanks!
How do I get into "Prepare Form Mode?" Under tools, there's Forms - and under that there is Create, Edit, Distribute, and More. More contains Highlight, Clear, Import, Export, and Merge Data Files into spreadsheet.
Copy link to clipboard
Copied
Digitalrebel,
I assume you are using Acrobat DC, yes you can use Forms> Edit. Rest of steps are same ...
Regards,
Tariq Dar.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now