Conditional additional set of fields

  • Profile Image
    encontrosf
    Asked on October 06, 2011 at 07:57 PM

    I'm creating an event registration form.

    There is an option to add family members that will accompany the guest. If the guest chooses to bring 3 family members I need to display 3 extra sets of fields (name, birthdate, etc.). However if the guest chooses to bring 5 family members I need to display 5 extra sets. Any way to accomplish that?

  • Profile Image
    encontrosf
    Answered on October 06, 2011 at 08:48 PM

    It's exactly what I'm trying to do. But I need it to display more than one field per extra guest.

    if 1 extra guest is selected it should show "full name", "birthday", "email", "phone number" fields.

    if 2 extra guests than twice those fields and so on.

    And to hide and show those fields I need to create one condition for each field? That would make the number of conditions goo through the roof, right ?

     

    EDIT: What I'm wondering is: Can I combine all those fields in a group "Guest Info", and have a condition to display the whole group of fields? And also duplicate the whole group instead of every single field?

  • Profile Image
    encontrosf
    Answered on October 06, 2011 at 09:10 PM

    Thanks for the help.

    One thing I found missing in Conditions is the ability to perform multiple actions based on one rule.

    Eg.

    If "field" equals "yes" then

    Show field X

    Show field Y

    Hide field Z