- Nic CrockerAsked on December 09, 2015 at 05:11 PM
I want to create a form which has 30 questions, each providing 3 potential responses phrased as a statement. I want to calculate how many answer As,answer Bs and answer Cs are selected. Is this possible?
This is a re-post of a comment on How to Perform Form Calculation Using a Widget
- JotForm SupportChriistianAnswered on December 09, 2015 at 10:44 PM
I assume you are trying to create a quiz form? If that is correct, you can try using our Quiz app. You can check this article for more information: http://www.jotform.com/help/289-Turn-your-form-into-a-Quiz-or-Exam-. However, if you want to count the specific choices your user has chosen, unfortunately, this feature is currently not available. There's no direct feature currently available for that.
Do let us know if you need further assistance.
- nic crockerAnswered on December 11, 2015 at 06:00 AM
I'm wondering if I could make it work another way, by including the three options inside the question and using a matrix. If I say the question is:
"When I operate new equipment I generally:
a) read the instructions first
b) listen to an explanation from someone who has used it before
c) go ahead and have a go, I can figure it out as I use it"
I could simply list three columns as A, B & C. Would the form count up the number of times a matrix button was clicked in each column in those circumstances?
- victorAnswered on December 11, 2015 at 10:07 AM
Like my colleague mention, unfortunately there is no direct way of calculating how many people answer A, B or C.
I may have found a workaround for you
You may clone the form so you may view and analyze how this gets calculated.
As you see I have created two solution.
1) with matrices: I used two matrices to do the calculation. One just contains the header while the other has the question and option. The reason is to is to calculate matrices the header requires to contain the values of the options. You will see that the header, using CSS, is hidden, contains the following values (10000=A, 100=B 1=C). At the bottom of the matrix, you will see a calculation field, this will add all the options selected. If users select 4 As, B10, 1 Cs, to result will be 41001 (4,10,01). Every two digit will result in the number selected.
2) Radio buttons: The second would be a lot easier to implement, since it does not include any CSS code. Here, as before, I just place the same values for each option (10000=option 1, 100=option 2, 1=option 3). Using the same login, the calculation field will add does values for each selection. In the result, each two digits will result in the amount of selection selected.
If you require any addition information, please let us know we will be glad to help.