Reply To: Keyboard tab not in correct order

Home Forums Quform WordPress Keyboard tab not in correct order Reply To: Keyboard tab not in correct order

#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

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