-
ickadminAsked on August 18, 2016 at 12:16 PM
Hello
I am creating an evaluation form/survey and in the test form below, I have 5 questions. I want to limit the user only 2 N/A responses out of the 5 questions
e.g. if the user wants to answer N/A to questions 1,2, and 3, they cannot, they have to atleast answer 3 questions that do not mean N/A and it could be any 3 questions
any idea how to do this?
Page URL: https://form.jotform.com/62305353024141 -
David JotForm SupportReplied on August 18, 2016 at 1:39 PM
The best way I can think of to accomplish this would be to use regular radio button fields instead of a matrix. You can then assign the "N/A" option a calculation value:
https://www.jotform.com/help/301-How-to-Assign-Calculation-Value
I made a quick example form and assigned a value of 1 to the NA option for each field. All the other options were assigned a value of 0:
I then added a calculation widget to the form:
http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form
After that, total up all the radio button fields in the calcualtion:
The calculation widget can be hidden later.
It is then possible to set up conditions based on that total. In my example form, I set up a text field with a warning message to be shown when the total was greater than 2. I also hid the submit button:
Here is the example form to show you how it works:
https://form.jotform.com/62305721997967
You can clone it to your own account to see the full set up:
https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL