How to add a row of fields dynamically

  • Profile Image
    WebmediaGroup
    Asked on March 01, 2021 at 06:46 AM

    Hi, I was wondering if theres a way to create a repetitve question.

    For example:

    If theres a question to insert info about your childern, I'd like to have a buttom that says "add another child" and than it will open the same fill-in question for the second child. and than again - "add another child".

    I know I can add 10 question and set a conditional logic for it, but i was wondering if theres a simpler way.

    thanks

  • Profile Image
    Lorenz_A
    Answered on March 01, 2021 at 08:20 AM

    Hi there,

    Yes, we actually have a widget called "Configurable list", which allows users to add as many rows of fields as they like.

    Here's a guide on how you can setup one https://www.jotform.com/help/282-how-to-set-up-the-configurable-list-widget

    I hope this helps. Let us know if you need any further assistance.


  • Profile Image
    WebmediaGroup
    Answered on March 02, 2021 at 07:04 AM

    Thanks, very helpul


    If I need a file upload for each. is it possible?

    (for every person on the list I need ID image)

  • Profile Image
    roneet
    Answered on March 02, 2021 at 07:46 AM

    Unfortunately, the Configurable list widget doesn't have a file upload option on it.

    You can use the File Upload element to upload multiple files.

    Here's a general guide on using our different file upload fields: https://www.jotform.com/help/332-How-to-Create-File-Upload-Forms.

    You can enable the multiple attachments uploads in the File Upload elements.

    Go to the MULTIPLE tabs then toggle MULTIPLE FILES to ON.

    07-17-2017-1500241228.png

    Let us know if you have further questions.

    Thank you.


  • Profile Image
    WebmediaGroup
    Answered on March 03, 2021 at 01:21 AM

    Is it possible to require same number of files as the number of raws filled in the configurable list?

  • Profile Image
    WebmediaGroup
    Answered on March 03, 2021 at 01:24 AM

    also, how does the file in the image you uploaded looks like that?

    and not this big one?

    1614752632_603f2b78550e8_

  • Profile Image
    Lorenz_A
    Answered on March 03, 2021 at 03:33 AM

    Hi there,

    Is it possible to require the same number of files as the number of raws filled in the configurable list?

    Unfortunately, that is not possible. You can only limit the number of files allowed to be uploaded, but it cannot be dependent on the number of rows added in the "Configurable list" widget.

    Also, how does the file in the image you uploaded looks like that?

    The image my colleague provided is an old look of the upload field, and the photo was taken from this link https://www.jotform.com/help/332-how-to-create-file-upload-forms. The upload field you are seeing now is actually the most updated layout of the field.

    I hope this answers your query. Let us know if you have other questions.