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

Interactive PDF: Issue with Correct Answer Checkbox Behavior in InDesign

Community Beginner ,
Apr 15, 2025 Apr 15, 2025

Hi,
I'm doing an interactive pdf with InDesign,
there is a question with one correct answer between multiple answers.
when the user click the checkbox of the correct answer it shows the tick mark and can also be unchecked, and if the user click on the wrong answer's checkbox nothing happens.
here is an example gif:

checkbox issue.gif









I couldn't figure out how to do all that.

I tried using object state & go to state, but when I open the pdf, all the checkboxes are checked.
I tried a different way, when I click on the wrong answer's checkbox nothing happens which is ok but if I then click on another answer, then that wrong one shows the tick even though I've deleted it from [Normal On].

 

<Title renamed by MOD>

TOPICS
How to
1.4K
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 15, 2025 Apr 15, 2025

Is the element applied a "radio button"?

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 ,
Apr 15, 2025 Apr 15, 2025

No, "Check Box".

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 15, 2025 Apr 15, 2025

MSOs are not supported in PDF.

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 ,
Apr 15, 2025 Apr 15, 2025

I'm sorry but what does MSO mean?

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
LEGEND ,
Apr 15, 2025 Apr 15, 2025
quote

I'm sorry but what does MSO mean?


By @sora20

 

Multi State Object. 

 

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
LEGEND ,
Apr 15, 2025 Apr 15, 2025

@sora20 

 

You would've to rather do it using Buttons - and show / hide.

 

RobertatIDTasker_0-1744739260225.png

 

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 ,
Apr 15, 2025 Apr 15, 2025

I tried it, if I hide check box 2, the grey backround is removed after clicking but I want it to stay.

sora20_0-1744741049689.png

 

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
LEGEND ,
Apr 15, 2025 Apr 15, 2025
quote

I tried it, if I hide check box 2, the grey backround is removed after clicking but I want it to stay.

sora20_0-1744741049689.png

 


By @sora20

 

Because you need to hide one - and show another in the same place. 

 

You need to have a "visible" and "hidden" versions of the same button / checkbox. 

 

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 ,
Apr 15, 2025 Apr 15, 2025

I'm not sure if I understood you correctly, I tried using check box 2 on top of another check box 2 , still the same result, so I tried check box 3 on top of check box 2, still the same with messy result.

Screenshot 2025-04-15 220541.png

Screenshot 2025-04-15 220600.png

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
LEGEND ,
Apr 15, 2025 Apr 15, 2025

@sora20

 

If you don't need interaction between them - then only the right answer should've two states.

 

But as @BobLevine pointed out - the final result will depend on the PDF reader...

 

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 15, 2025 Apr 15, 2025

What exactly are you trying to do? 

Obviously, have nothing selected when opened, but beyone that I'm not sure.

A radio button would only allow one answer to be selected. Isn't that what you are looking for?

You can make checkboxes so they only allow one answer similar to radio buttons if you feel you need checkboxes for some reason. I've attached a PDF demonstrating your various options.

 

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
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 ,
Apr 15, 2025 Apr 15, 2025

I'm trying to achieve the same result as the gif I provided in the post. the tick mark is shown only on the correct answer if the user click it,
for example, the question is what's the capital of Australia?
[]- Canberra.
[]- Sydney.
if the user clicks on the first check box it shows a tick (bc it's the right answer), if he/she clicks on the second checkbox nothing happens.

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 15, 2025 Apr 15, 2025

You are fighting a losing battle here. Even if, by some chance, you get this working in Acrobat, the chances of it working in most 3rd party readers or browsers is nearly zero.

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 ,
Apr 15, 2025 Apr 15, 2025

The example I've shown is from a pdf and I was asked to do the same even if it's not supported on most readers, I have to delever it to manager as asked. You mentioned Acrobat, do you know a way to help me?

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 15, 2025 Apr 15, 2025

Well, then...open the one that works in Acrobat and examine the elements there to see how it was done. It's entirely possible that what you want to do cannot be done using InDesign alone.

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

@BobLevine Thank you, it was helpful to open it with Acrobat and examine it. I understood how it was done.

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
LEGEND ,
Apr 15, 2025 Apr 15, 2025
quote

I'm trying to achieve the same result as the gif I provided in the post. the tick mark is shown only on the correct answer if the user click it,
for example, the question is what's the capital of Australia?
[]- Canberra.
[]- Sydney.
if the user clicks on the first check box it shows a tick (bc it's the right answer), if he/she clicks on the second checkbox nothing happens.


By @sora20

 

In this case - only the first one should've two states - ticked and unticked.

 

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 15, 2025 Apr 15, 2025

You could change the check color to white in the incorrect answers. It shows up momentarily as a check ghosted check but then "disappears". 

Also, you could change the incorrect answers to show an X rather than a checkmark.

You could make it read only but that would eliminate any interaction and wouldn't work as well. 

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
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 ,
Apr 16, 2025 Apr 16, 2025

Thanks, that was helpful, I used it with radio button with checkmark and X from the sample list. it didn't work with checkbox because after clicking and move on it shows a black checkmark.

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