Highlighted

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

New Here ,
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.

Adobe Community Professional
Correct answer by Creamer Training | Adobe Community Professional

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

TOPICS
Print, Scripting

Views

87

Likes

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

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

New Here ,
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.

Adobe Community Professional
Correct answer by Creamer Training | Adobe Community Professional

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

TOPICS
Print, Scripting

Views

88

Likes

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
Oct 09, 2020 0
Adobe Community Professional ,
Oct 16, 2020

Copy link to clipboard

Copied

You need Captivate.

Mike Witherell

Likes

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
Reply
Loading...
Oct 16, 2020 0
New Here ,
Oct 16, 2020

Copy link to clipboard

Copied

Thanks but Captivate can't export as PDF.

Likes

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
Reply
Loading...
Oct 16, 2020 0
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Oct 16, 2020 0
New Here ,
Oct 16, 2020

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Oct 16, 2020 0
Adobe Community Professional ,
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

Likes

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
Reply
Loading...
Oct 16, 2020 0
New Here ,
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...

Likes

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
Reply
Loading...
Oct 16, 2020 0
Adobe Community Professional ,
Oct 16, 2020

Copy link to clipboard

Copied

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).

Likes

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
Reply
Loading...
Oct 16, 2020 0