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

Creating MCQ Questions in InDesign with total score and export to PDF

New Here ,
Oct 09, 2020 Oct 09, 2020

Copy link to clipboard

Copied

I am doing a simple MCQ quiz in InDesign using radio buttons. I need to do scoring at the end of a multi-page PDF. Do I do it in InDesign or Acrobat DC Pro? and do I need javascript? Please help. Thank you.

TOPICS
Print , Scripting

Views

1.1K

Translate

Translate

Report

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 2 Correct answers

Community Expert , Oct 16, 2020 Oct 16, 2020

Hi

 

As @Mike Witherell  stated you probably are looking at captivate, but if you are tied into the PDF and Acrobat route, do the layout in InDesgin and then add the Radio buttons and JavaScript (probably not much) in Acrobat.

 

Regards.

 

Malcolm

Votes

Translate

Translate
Community Expert , Oct 16, 2020 Oct 16, 2020

Captivate won't work if it must be in the PDF. Technically, it could work if the computers have the Flash player installed and you export a SWF file, but Flash is not installed on many computers today.

 

You could use JavaScript if you need complexity. 

 

For a simple option, use checkboxes that have the same name but different values; these will work like radio buttons but allow for deselection. However, radio buttons should work too. For example, all answers for question one are named Q1; the

...

Votes

Translate

Translate
Community Expert ,
Oct 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

You need Captivate.

Mike Witherell

Votes

Translate

Translate

Report

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 ,
Oct 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

Thanks but Captivate can't export as PDF.

Votes

Translate

Translate

Report

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 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

Hi

 

As @Mike Witherell  stated you probably are looking at captivate, but if you are tied into the PDF and Acrobat route, do the layout in InDesgin and then add the Radio buttons and JavaScript (probably not much) in Acrobat.

 

Regards.

 

Malcolm

Votes

Translate

Translate

Report

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 ,
Oct 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

Thanks. Yes I found out I need to use Javascript to make it work.

Votes

Translate

Translate

Report

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 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

Captivate won't work if it must be in the PDF. Technically, it could work if the computers have the Flash player installed and you export a SWF file, but Flash is not installed on many computers today.

 

You could use JavaScript if you need complexity. 

 

For a simple option, use checkboxes that have the same name but different values; these will work like radio buttons but allow for deselection. However, radio buttons should work too. For example, all answers for question one are named Q1; the values are 10 for the correct answer and 0, 0.0, 0.00, for the wrong answers. (The extra zeros are treated as unique answers in Acrobat, otherwise, they would all turn on at the same time.) The Score, a read-only field would be a calculation of the checkboxes. 

Here is a sample ID file with the PDF: https://shared-assets.adobe.com/link/9fc9863b-435d-4d49-7bfb-a2e9d152c22b

David Creamer: Community Expert (ACI and ACE 1995-2023)

Votes

Translate

Translate

Report

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 ,
Oct 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

Thanks for the sample! I also need the PDF to lock itself once user clicks on the button "Start Grading" so the user cannot change the answers and a "Submit" button to send the results (+ a form with user information prior to taking the quiz) via email. Guess I will figure that out...

Votes

Translate

Translate

Report

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 16, 2020 Oct 16, 2020

Copy link to clipboard

Copied

LATEST

You could have the user digitally sign the "quiz", which can lock all the fields. Then the Submit button will send the form data (answers).

David Creamer: Community Expert (ACI and ACE 1995-2023)

Votes

Translate

Translate

Report

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