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:
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
...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
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.
Copy link to clipboard
Copied
Thanks Nic and WolfShade for this feedback.
Copy link to clipboard
Copied
Did you ever get this to work? If so, what did you use?
Copy link to clipboard
Copied
Did you ever get this to work? If so, what did you use?
By @T.Taylor
WolfShade's post was marked as the correct answer. So, you should use the suggestions from there.