Reply To: Form Fields Order

Home Forums Quform WordPress Form Fields Order Reply To: Form Fields Order

#36418
VERESdesign
Participant

HI! I have 11 fields in my form where I also need a sorting from top to bottom (for the first two fields) and then from left to right. I copied your snippet for my form fields and created all fields in a certain order. However, the TAB now jumps to the bottom after the first two fields and then to the menu bar and only then does it continue in the form.
How can I fix this?

https://ineshabermann.de/events/offene-yoga-stunde/ The form would currently be in here.
So how can I set the tab index so that it jumps without interruption?

My script currently looks like this:

add_filter(‘quform_field_attributes_1_3’, function ($atts) {
$atts[‘tabindex’] = 398;
return $atts;
});

add_filter(‘quform_field_attributes_1_18’, function ($atts) {
$atts[‘tabindex’] = 399;
return $atts;
});

add_filter(‘quform_field_attributes_1_31’, function ($atts) {
$atts[‘tabindex’] = 400;
return $atts;
});

add_filter(‘quform_field_attributes_1_32’, function ($atts) {
$atts[‘tabindex’] = 401;
return $atts;
});

add_filter(‘quform_field_attributes_1_33’, function ($atts) {
$atts[‘tabindex’] = 402;
return $atts;
});

add_filter(‘quform_field_attributes_1_34’, function ($atts) {
$atts[‘tabindex’] = 403;
return $atts;
});

add_filter(‘quform_field_attributes_1_35’, function ($atts) {
$atts[‘tabindex’] = 404;
return $atts;
});

add_filter(‘quform_field_attributes_1_37’, function ($atts) {
$atts[‘tabindex’] = 405;
return $atts;
});

add_filter(‘quform_field_attributes_1_14’, function ($atts) {
$atts[‘tabindex’] = 406;
return $atts;
});

add_filter(‘quform_field_attributes_1_16’, function ($atts) {
$atts[‘tabindex’] = 407;
return $atts;
});

add_filter(‘quform_field_attributes_1_2’, function ($atts) {
$atts[‘tabindex’] = 408;
return $atts;

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