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 Multiple Time on One Page, Tab Index Not Working

  1. I've looked through the forum and there are solutions for tab index working properly when there are multiple DIFFERENT forms on the same page. But there aren't any solution I can find for having ONE form multiple times on the same page and getting the tab index to work properly. Any solutions.

    Here's a link to the page (http://www.faronics.com/news/events/) When you click on any of the 'meet us' hyperlinks you have to tab 3 times to reach the next field since there are technically 3 of the same form on that page. Any help would be much appreciated!

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink
  2. I don't think having the same multiple times on one page is a good idea:
    http://www.gravityhelp.com/forums/topic/multiple-forms-on-one-page#post-12845

    Do the submissions work properly? Because you basically want them all submitted to the same form anyway, with just different "meet us" events recorded in the submission?

    Posted 12 years ago on Wednesday August 3, 2011 | Permalink
  3. Ayyaz
    Member

    We seem to be having the same problem, http://www.ppirefundsuk.co.uk we have two forms on one page, one at the top and one in the footer.

    Any solutions to this?

    Posted 12 years ago on Tuesday September 6, 2011 | Permalink
  4. Looks like you're having a different problem actually. You have form 7 in the footer and form 8 at the top? So, you do not have the same problem (which was the same form being inserted multiple times.)

    There is a little overlap between indexes for your two forms. The tabindex should be reset for one of your forms. It will be a little easier to set the tabindex using the shortcode in version 1.6 (which is in beta now) but currently, you will have to use the gform_tabindex filter to change the tabindex for one of your forms. The code will be added to your theme's functions.php.

    If either of these forms is in a widget, you can set the tabindex in the widget settings instead (I did not see anything about widgets in the source so I don't think this applies to you.)

    Posted 12 years ago on Tuesday September 6, 2011 | Permalink
  5. jeanjacques
    Member

    Hi,

    I have the same issue as described by Ayyaz.
    I've read http://www.gravityhelp.com/documentation/page/Gform_tabindex and inserted the code in the file named functions.php

    refreshed my page and nothing changed, here is the url http://www.alternative-assurance.com

    Thanks for your support

    Posted 12 years ago on Sunday October 2, 2011 | Permalink
  6. @jean you're using two different forms, which should work just fine. Can you post your functions.php at pastie.org or pastebin.com so we can take a look? Post the whole file if possible. Thanks.

    Posted 12 years ago on Sunday October 2, 2011 | Permalink
  7. jeanjacques
    Member

    Hi Chris,

    Thanks for your support.

    I'm using optimizepress
    Here is a copy of the functions.php
    http://www.pastie.org/2627895

    Cheers,

    Jean-Jacques

    Posted 12 years ago on Sunday October 2, 2011 | Permalink
  8. OK, I see what you did there. You changed the starting tabindex to 4 for all forms on your site. You need to use it like this instead:

    [php]
    add_filter("gform_tabindex_3", create_function("", "return 9;"));

    That will set the starting tabindex for form 3 (your bottom form) to 9, which will allow 1 through 8 on the first form.

    Posted 12 years ago on Monday October 3, 2011 | Permalink