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

    1 Question, Multiple Answers (looping)

    Asked by PeterMole on January 20, 2013 at 03:58 PM

    Is it possible to loop a question to get multiple responses without having to create a form with a number of questions all the same?

     

    The situation is this.

     

    I have created a quote form. When the users selects an item they want I need to capture a number of details. What I also want to do is to offer the user the option to "add more" i.e. repeat the same entry requirements but for another item of the same class but different user inputs (basically use the "add more" to loop the item).

     

    Is this possible and if it is not possible is this something that may be navailable in the future?

     

    Eg

    Start Loop

    Get User Response

    User Selects "Add More"

    Get User Response

    User has no more additions to make

    End Loop

     

    I know this would pocssibly complicate the reporting side but I think this is a powerful featu4re which would save a lot of time in making forms and also streamline the forms.

     

    Let me know, it may be available but I have not seen it anywhere.

     

    P.S. Very new to JotForm.

    Page URL:
    http://form.jotform.co/form/30136418150847

  • Profile Image
    JotForm Support

    Answered by jonathan on January 20, 2013 at 06:27 PM

    Hi,

    You can do this in the form using condition logic feature of the form.

    Please review this guides:

    1. -How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    2. -Conditional-Logic-on-Forms

    The way I see it, it should not be an endless loop.. but you will have to manually add all your options during design mode.

    Hope this help. Do inform us if you require further assistance doing it.

    Thanks.

  • Profile Image
    JotForm Support

    Answered by jonathan on January 22, 2013 at 06:07 AM

    Hi,

    I found time to apply the guides to your form on how the way I understand it. 

    Try this form http://www.jotformpro.com/form/30211924577957 and give me your comment about it (if I get your idea correctly).

    Basically, what I did was add a "more..." option (on the door for now), -- if the form user chooses to add more, a new sets of response will be available.

    So, you can test this on the "I want a door" category.

    As mentioned already, we cannot do an endless loop -- but it will instead rely on how many more options you can add. I only used the 2 guides I provided you the last time.

    By the way, you can also clone a form to learn more about the form instead. (please use this guide -Cloning-a-Form-from-a-Web-Page)

    Please feel free to contact us anytime should you have more inputs/ideas about it.

    Thanks.

  • Profile Image

    Answered by PeterMole on January 22, 2013 at 06:22 AM
    Jonathan,
    Thanks for that. Would this arrangement mean I would have to assume a maximum number of responses? Could you ask how many widgets a user wanted and then repeat the questions for each widget 1...n.
    The solution you provide gets me on the track so I thank you very much for taking the time to consider my question.
    Kind regards
    Peter Mole
  • Profile Image
    JotForm Support

    Answered by jonathan on January 22, 2013 at 06:43 AM

    Hi Peter,

    Would this arrangement mean I would have to assume a maximum number of responses? Could you ask how many widgets a user wanted and then repeat the questions for each widget 1...n "

    Yes, this is what I meant that it cannot be an endless loop.

    We have to decide on that nth option that should be available-- and put it all on the form. Then use the condition logic feature to enhance the use's experience in using the form.

    It is not actually hard to duplicate fields to have a bunch of them.. you can use the duplicate property of the field. (see image) ... I noticed you were able to position some of your fields, so, I am sure you had seen the duplicate property already =)

     

    I know there are a lot of methods/means to achieve your idea on the form. Tell us if you have more.

    One method I already thought would be cleaner is, hiding those collapse fields and use a Free Text(HTML) field instead as header text.

    Please don't hesitate to call our attention should you need assistance to further enhance your form and your work. 

    Thanks.