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

    Is it possible to create a group of fields that are duplicated by clicking on a button?

    Asked by NVParoleBd on April 22, 2015 at 02:15 PM

    I want to create a custom group of fields, possibly using the configure list widget, and be able to duplicate the entire block of fields dynamically. This is similar to the group of fields that are inserted for an address block.

    See the image for example of what I mean.

     

     

    Screenshot
    create block and list widget
  • Profile Image
    JotForm Support

    Answered by Charlie on April 22, 2015 at 04:02 PM

    Hi,

    The configurable list widget would work but the challenge will be on how to format it like the one in your image. The widget is designed as a table so we'll be having a hard time to position it correctly.

    What I could recommend is that set a number of group of fields then separate them by collapse bar. Let's say you have maximum of 10 group of fields, you can then use Conditional logic to show or hide the additional group of fields depending on an option.

    Here's a sample form: http://form.jotformpro.com/form/51115988114960?. Here's my steps on how I did it.

    1. Add the multiple fields and separate them by using form collapse bars.

    2. In the conditional logic, I'll choose the first option to show and hide the fields.

    3. In the rule, when the check box "Add another" is equal to "Yes" then show the "Copy2" group of fields separated by the form collapse bar.

     

    I hope this helps.

    Kind regards.

  • Profile Image

    Answered by NVParoleBd on April 22, 2015 at 04:14 PM

    Thanks. I read this tutorial: http://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool

    Some offenders may have 10 or 15 convictions.

    Would the best way to proceed is to create a section with 5 conviction blocks enclosed within collapse bars and then have boxes for 5 more and 10 more?

    If it's not too much trouble, could you give me an example using the top two rows shown in the screen capture, above?

    Alan

  • Profile Image
    JotForm Support

    Answered by BDAVID on April 22, 2015 at 05:46 PM

    There is no need to have many boxes to show the sections, you can simply use a Spinner field located under the Survey Tools tab.

    You will set condition like these:

    What I did with the spinner was to simply set a minimum, maximum and default value:

     

    Example:

    You can clone my form here: http://form.jotform.co/form/51116358001846

    You may clone it if you want to by following this guide: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

     

  • Profile Image

    Answered by NVParoleBd on April 22, 2015 at 06:53 PM

    That sounds like a good way to go.  I will try this method. However, I have two questions.  

    1. Is there any easy way to group more than one field on a line?

    2. If so, could you provide me an example that uses the first two lines (four fields) of the screen capture shown above instead of standard fields?

  • Profile Image
    JotForm Support

    Answered by BDAVID on April 22, 2015 at 07:20 PM

    I see you are referring to form field positioning, please check this step by step guide: http://www.jotform.com/help/90-Form-Field-Positioning