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

Multiple Radio Button Groups

Community Beginner ,
Feb 24, 2023 Feb 24, 2023

I'm afraid to ask based on what I have read about radio button groups. All I want is the most basic functionality that anyone would expect to see happen. I have 3 questions that require a Yes or No answer. I added a set of 2 radio buttons to question 1 and set them to Yes or No, making Yes selected by default. Of course they were automatically created in Group 1.

Now, I need the same thing for question 2 and question 3. But when I create new buttons they get added to Group 1 which does not work. When you go in the Properties you can see the Group 1 with a dropdown but there is no other group in there to select and I cannot for the life of me figure out how to make another group for the buttons for question 2 and then another group for the buttons for question 3. 

People are talking about custom scripts creating fields and all this, I just need some functioning radio buttons. Does anyone have a solution? I saw one article that talked about right clicking and selecting wrap in new group but I don't see that option anywhere. 

TOPICS
PDF forms
29.0K
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 Beginner ,
Feb 24, 2023 Feb 24, 2023

Okie dokie.... I'm answering my own question for anyone else that might need it. I figured it out. 

I had created 2 radio buttons for question 1.

I created 2 new buttons for question 2 which got grouped into Group 1 along with the first 2 buttons.

I selected the 2 new buttons for question 2 and went into Properties and literally changed the name of the group from Group 1 to Group 2 by backing out the "1" and typing in a "2" and hit Enter.

 

Doing that created a new Group (Group 2) and put my new buttons in that new group. Now they function as they should in their own group.

 

Repeated that process for 2 more button for Group 3.

 

Man.... I can't believe there is nothing I have found on the internet that says how to do this. I just did it out of desperation. 

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 ,
Apr 10, 2025 Apr 10, 2025
LATEST

If you bothered to read the articles you'd see how easy radio buttons/checkboxes  are to setup. 

 

The AI can't be broken if it was never working that well in the first place. It's getting better all the time. That is of course the point. It learns. 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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
New Here ,
May 28, 2024 May 28, 2024

Thanks for sharing this Dave!  It saved me a lot of wasted time trying to figure this out too!

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
New Here ,
Feb 04, 2025 Feb 04, 2025

This method does not work anymore. Sadly.

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 ,
Feb 04, 2025 Feb 04, 2025
quote

This method does not work anymore. Sadly.


By @collette_4061

 

You mean using the field properties dialog to change the name and export value of a radio button?

Yes, it does still work. And if this isn't what you mean then you need to say explicitly what it is that you think is not working.

 

See theses articles. 

https://www.pdfscripting.com/public/Checkboxes-and-Radio-Buttons.cfm

https://www.pdfscripting.com/public/Editing-Fields-Properties.cfm

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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