What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I limit users to selecting a specific answer a certain amount of times

    Asked by ickadmin 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

    survey how JotForm icon test form
  • Profile Image
    JotForm Support

    Answered by david on August 18, 2016 at 01: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