Highlighted

Creating a multiple choice questions in PDF

Explorer ,
Jul 31, 2017

Copy link to clipboard

Copied

I am creating a PDF document with set of questions answerable by multiple choice.

Example:

For which of the following disciplines is Nobel Prize awarded?

A. Physics and Chemistry

B. Physiology or Medicine

C. Literature, Peace and Economics

D. All of the above

In this example, the correct answer is "D - All of the above”

Here is what I would like to happen:

  1. How can I check if the answer selected is correct?
  2. I also plan to include a "Next" control button that when click, it goes to the next question and cannot go back to the previous question to change their answer.
  3. I want the result (Correct or Wrong) of each question to be display only after the last question has been answer.

        Example:

        Question 1 - Correct

        Question 2 - Correct

        Question 3 - Wrong

        Question 4 - Correct ...

   d.  I also want to display the total score at the end and a note if they passed or failed the test.

Thank you in advance.

Henry

I agree with nic.  PDFs are supposed to be a cross-platform portable document used for conveying information.  Yeah, you can set up a form and have people check boxes/radios and fill out text fields, and such, but they were never meant to be as interactive as what you describe.  This would be better done with a webpage, and you don't even have to use server-side for it.  A standard HTML with JavaScript should be able to cover what you seek, and can be copied from system to system and run locally in the browser without a webserver.

HTH,

^ _ ^

UPDATE:  Of course, this won't prevent people from using "View Source" and cheating.  For that you'd have to have a webserver and a server-side scripting language like CF with AJaX for the checking of scores and such.

TOPICS
Reporting

Views

7.2K

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 a multiple choice questions in PDF

Explorer ,
Jul 31, 2017

Copy link to clipboard

Copied

I am creating a PDF document with set of questions answerable by multiple choice.

Example:

For which of the following disciplines is Nobel Prize awarded?

A. Physics and Chemistry

B. Physiology or Medicine

C. Literature, Peace and Economics

D. All of the above

In this example, the correct answer is "D - All of the above”

Here is what I would like to happen:

  1. How can I check if the answer selected is correct?
  2. I also plan to include a "Next" control button that when click, it goes to the next question and cannot go back to the previous question to change their answer.
  3. I want the result (Correct or Wrong) of each question to be display only after the last question has been answer.

        Example:

        Question 1 - Correct

        Question 2 - Correct

        Question 3 - Wrong

        Question 4 - Correct ...

   d.  I also want to display the total score at the end and a note if they passed or failed the test.

Thank you in advance.

Henry

I agree with nic.  PDFs are supposed to be a cross-platform portable document used for conveying information.  Yeah, you can set up a form and have people check boxes/radios and fill out text fields, and such, but they were never meant to be as interactive as what you describe.  This would be better done with a webpage, and you don't even have to use server-side for it.  A standard HTML with JavaScript should be able to cover what you seek, and can be copied from system to system and run locally in the browser without a webserver.

HTH,

^ _ ^

UPDATE:  Of course, this won't prevent people from using "View Source" and cheating.  For that you'd have to have a webserver and a server-side scripting language like CF with AJaX for the checking of scores and such.

TOPICS
Reporting

Views

7.2K

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
Jul 31, 2017 0
Engaged ,
Aug 01, 2017

Copy link to clipboard

Copied

This seems to be quite outside of the scope of a PDF, especially one generated by ColdFusion.  Adobe Livecycle used to add functionality that might be useful, but it is quite an expensive solution for something that might be better served as a web page, etc.

-Nic

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...
Aug 01, 2017 1
LEGEND ,
Aug 01, 2017

Copy link to clipboard

Copied

I agree with nic.  PDFs are supposed to be a cross-platform portable document used for conveying information.  Yeah, you can set up a form and have people check boxes/radios and fill out text fields, and such, but they were never meant to be as interactive as what you describe.  This would be better done with a webpage, and you don't even have to use server-side for it.  A standard HTML with JavaScript should be able to cover what you seek, and can be copied from system to system and run locally in the browser without a webserver.

HTH,

^ _ ^

UPDATE:  Of course, this won't prevent people from using "View Source" and cheating.  For that you'd have to have a webserver and a server-side scripting language like CF with AJaX for the checking of scores and such.

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...
Aug 01, 2017 0
Explorer ,
Aug 01, 2017

Copy link to clipboard

Copied

Thanks Nic and WolfShade for this feedback.

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...
Aug 01, 2017 0