Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mousedown on Radio Button?

Explorer ,
Oct 31, 2016 Oct 31, 2016

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?

TOPICS
Acrobat SDK and JavaScript , Windows
763
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 01, 2016 Nov 01, 2016

Digitalrebel,

I assume you are using Acrobat DC, yes you can use Forms> Edit. Rest of steps are same ...

Regards,
Tariq Dar.

Translate
Adobe Employee ,
Oct 31, 2016 Oct 31, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 31, 2016 Oct 31, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 01, 2016 Nov 01, 2016
LATEST

Digitalrebel,

I assume you are using Acrobat DC, yes you can use Forms> Edit. Rest of steps are same ...

Regards,
Tariq Dar.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines