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.

Same form on page multiple times not working

  1. Hi,
    I'm trying to use one form multiple times on a page, but only the form that appears first on page works. I need to use the same form (same id) so that I don't have multiple forms to manage. The page has several links that redirect the user to different pages depending on what was clicked by passing URL through field_values param of Gravity Forms shortcode and using that in a query string on the confirmation page setting.

    I realize page elements require unique IDs, but is there any way to use the same form multiple times on one page without having a conflict? I'd hate to have to create 6 different duplicate forms just so they have unique IDs.

    This page shows an example of what I'm trying to do using Form Lightbox.
    http://www.entelos.com/type-ii-diabetes/

    Thanks,
    Laith

    Posted 12 years ago on Friday February 22, 2013 | Permalink
  2. Since that was a live page, I had to something quick. I just duplicated the form 8 times and changed the form ID on each of the forms.

    I think it was just a bad design on my part, and I didn't think it through before implementing. A better design may have been to create a separate page for the form, and the form buttons link to the form page, and use a query string (pass it to the confirmation page settings) to handle the redirects.

    Unless I'm missing something, no need to answer this one.

    Thanks,
    Laith

    Posted 12 years ago on Friday February 22, 2013 | Permalink
  3. You can't use the same form multiple times on the same page. Your idea to duplicate the form was fine. Your idea to link to the form with a query string is fine too, since then you just have one form on the page and it works for all scenarios.

    Posted 12 years ago on Friday February 22, 2013 | Permalink