Nested dynamic fields: Not possible

  • Profile Image
    bryantpark
    Asked on March 08, 2018 at 02:03 PM

    Hi, 

    I'm trying to create a field that can be repeated within a repeating section...


    For example:

    Host (text field) +

     Guest (text field) +



    The host field would be a repeat field (so that new hosts can be added)

    The guest field would also be a repeat field (so that new guests can be added to each host)


    Is this possible with one of the widgets?  

    I tried the configurable list widget, but it seems like it would only allow me to repeat all the fields together (i.e. guest and host at the same time...meaning I have to re-type host for each new guest) 

    A screen shot of what I'm similarly looking for is attached.

    Thank you!

  • Profile Image
    aubreybourke
    Answered on March 08, 2018 at 02:36 PM

    You mean you want multiple guests in a single host?

    And then also the ability to create multiple hosts?

     

    As far as I'm aware its not possible to nest dynamic fields the way you are asking.

    Would you like to submit a feature request to the development team?

     

    What is possible is to create a fixed number of hosts. Each with a dynamic field (infinite list widget or configurable list widget). Then show them based on an input from the user.

     

    For example:

    1520537570z3b0o.png

    Working demo here:

    https://form.jotform.com/80666106882967

     

    Here I setup three sections for a maximum of three hosts (You could setup as many as you like). Then I used a dropdown field to specify the number of hosts. This selection is used in a show condition. 

    The conditions look like this:

    1520537727dzc20.png