PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Send data between pages in a multi-page form

  1. mrb
    Member

    I want to make some kind of booking form where the user select how many people he book for and then enter each person's details.

    First, the user select how many people he will book for, 1-8. Depending on what he select, 1-8 name fields will appear. The user enter each persons name (so far no problem).

    After that, I want the form to "rotate" 1-8 times so the user can enter the details for each person (for exampel address, phone number, shoe size and so on). Also, it should always be very clear which person he is currently editing for (so the name field in the beginning must follow).

    I don't want to make one looong form where the user enters all the details on a single page. It will be too messy. I will use Gravity Forms 1.5 with multi-pages.

    Preferably I would like to choose number of people, and enter everyones names on page 1. Then, on the next page/pages, every person's own details should be entered.

    And last, when there is no more people, the user need to pay using the Paypal add-on. The price depends on the number of people.

    Can this be done using Gravity Forms at all? One thing I don't understand is how to get data from the first page in a multi-page form to follow to the other pages.

    Posted 14 years ago on Sunday March 20, 2011 | Permalink
  2. No, this isn't possible as you described. You can't repeat fields like that by rotating the same fields to the user multiple times based on a number they choose in a drop down.

    The fields would have to exist on the form and then you would have to show/hide them individually using conditional logic based on previous user input.

    Posted 14 years ago on Monday March 21, 2011 | Permalink
  3. mrb
    Member

    I see. So there can be no interaction between pages in a multi-page form? The conditional logic will not work using anything entered in a previous page?

    Posted 14 years ago on Monday March 21, 2011 | Permalink
  4. There can be interaction between pages in a multi-page form, however it can't dynamically create fields. The field would have to exist on the form by you adding it to the form using the form editor. Then you can use Conditional Logic, it will work using selections in a previous page.

    Posted 14 years ago on Monday March 21, 2011 | Permalink