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.

we need more control over tabindex's

  1. twofus
    Member

    I've read the docs and forum and it appears there is no possible way to control tabindex's on the form. They are hardcoded by Gravity Forms and the browser simply does what the code says to do.

    It would be nice to have the ability to be able to override the tabindex for forms. Without it, forms have to be constructed to fit Gravity Form's rules and not ours. And, yes, I understand this is a function of the browser but since you have hardcoded the tabindex's, you might consider a way for us to override them. OR, have Gravity Forms save a hardcoded page and allow us the ability to modify it and then save it as the form's template.

    Just an opinion since I'm fighting tabindex's and design on a 100+ input form.

    Posted 13 years ago on Wednesday December 8, 2010 | Permalink
  2. Strange, a quick search turns up several hits for tabindex, including the examples below.

    http://forum.gravityhelp.com/search.php?q=tabindex

    You can control the starting tabindex for each form with a filter added to your theme's functions.php file.

    For example, this changes form id#10's tabindex start value to 4

    < ?php add_filter('gform_tabindex_10', create_function('', 'return 4;')); ?>

    or you could do this to apply it to all forms

    < ?php add_filter('gform_tabindex', create_function('', 'return 4')); ?>

    or, if you want to disable the tabindexes completely, you can add this instead

    <?php add_filter("gform_tabindex", create_function("", "return false;")); ?>
    Posted 13 years ago on Wednesday December 8, 2010 | Permalink

This topic has been resolved and has been closed to new replies.