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

Being able to circle a choice instead of an x or a check mark with prepare a form

Explorer ,
Oct 18, 2023 Oct 18, 2023

Hi,

 

I would like to know if it is possible to create a check box or radio button or ok button that will simply circle the choice made instead of a solid ball or check or x in the center of it.  I have included the document and a picture pointing to where I am trying to implement this.  Please let me know if you can help me.

 

Best regards

J

TOPICS
Edit and convert PDFs , How to , JavaScript , Modern Acrobat , PDF , PDF forms
1.2K
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
1 ACCEPTED SOLUTION
Community Expert ,
Oct 18, 2023 Oct 18, 2023

You can use buttons instead with this script in each button as 'Mouse UP' action:

event.target.strokeColor = (color.equal(event.target.strokeColor, color.transparent)) ? color.black : color.transparent;

Here is your file with script and buttons added, I also add condition, so only one button can be 'selected' at a time:

https://drive.google.com/file/d/1jG9_-1vZHt-3TANQN4iwa4QrCzq0wzyg/view?usp=share_link 

View solution in original post

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
Community Expert ,
Oct 18, 2023 Oct 18, 2023

You can use buttons instead with this script in each button as 'Mouse UP' action:

event.target.strokeColor = (color.equal(event.target.strokeColor, color.transparent)) ? color.black : color.transparent;

Here is your file with script and buttons added, I also add condition, so only one button can be 'selected' at a time:

https://drive.google.com/file/d/1jG9_-1vZHt-3TANQN4iwa4QrCzq0wzyg/view?usp=share_link 

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
Community Beginner ,
Jul 03, 2025 Jul 03, 2025

Is there any way you can repost the script again? I am trying to make a circle button and Acrobat is so frustratingly limited. I am trying to make it so that users can click on one of a series of numbers (1 to 10) and have the number circled. I wish Acrobat were easier to set up forms with. Thanks!

 

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
Community Expert ,
Jul 03, 2025 Jul 03, 2025

The script is already posted in my answer.

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
Community Beginner ,
Jul 04, 2025 Jul 04, 2025
LATEST

Okay—sorry. I think I get it now. I had been thinking the Google drive file was necessary. Thank you!

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