Keyboard tab not in correct order

Home Forums Quform WordPress Keyboard tab not in correct order

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Ally 1 week, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29763

    tomv
    Participant

    I have an issue with a form where the tabbing is in an incorrect order, and infact the tab moves away from the form before its been through all the inputs.

    Is there a way to set tabindex on the form?

    Thanks,

    #29776

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #29786

    tomv
    Participant

    Thanks for your response.

    I have tried the following,

    <?php

    /*
    * Plugin Name: Quform Tabbing Order
    * Description: Quform Tabbing Order made for Tollers
    * Version: 1.0
    */

    add_filter(‘after_setup_theme’,’quform_field_attributes’, function (array $attributes, Quform_Element_Field $element) {
    $t = 0;

    switch ($element->getIdentifier()) {
    case ‘3_6’: $t = 30; break;
    case ‘3_8’: $t = 31; break;
    case ‘3_9’: $t = 32; break;
    }

    if ($t) {
    $attributes[‘tabindex’] = $t;
    }

    return $attributes;
    }, 10, 2);

    ?>

    However the tab index’s remain the same. Is there anything I’m obviously doing wrong?

    Cheers,
    Tom

    #29798

    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Be inspired. © 2019 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy