These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Calculate Questions Answered

Cracknell
Acrobat 9
Registered: Sep 8 2008
Posts: 29
Answered

I have a 75 question exam, multiple choice with 4 radio buttons for each answer. The radio button sets are named Q1, Q2, Q3 etc.

I want a calculate field that works out how many questions have been answered (even if the answer is incorrect) for example '66/75 answered'

I don't know javascript at all, please could someone give me the javascript for my calculate field for this?

Thanks in advance.

My Product Information:
Acrobat Pro 8.0, Macintosh
pddesigner
Registered: Jul 9 2006
Posts: 858
I suggest you devote some time studying these manuals related to LiveCycle and Acrobat JavaScripting.

The basic knowledge you'll get from reading these manuals will pay off down the road as you advance in your use of the features available in Acrobat and LiveCycle.

LiveCycle Designer Scripting Basics
http://www.box.net/shared/static/yh87sqasq2.pdf

101 Form eTips
http://www.box.net/shared/static/qf402snmhl.pdf

Below is a one page quiz example for your review.

quiz
http://www.box.net/shared/static/li0z8uz550.pdf

These links will expire in 30 days.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you looked at similar posts?

[url=http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=16006]Calculate radio buttons[/url] has code for counting the buttons, but you will need to modify this code to meet you situation. Also you may need to provide some method of determining the correct and wrong answers.

George Kaiser