I followed the instructions of another thread and I was able to create two columns out of my form, which is great, but I would like the tab index to work differently. Right now the tabbing goes straight down and instead I would like it to go across.
I followed the instructions of another thread and I was able to create two columns out of my form, which is great, but I would like the tab index to work differently. Right now the tabbing goes straight down and instead I would like it to go across.
Well, the fields are tabbing in the order you put them in the editor. If you're using the ready classes, it only floats the fields to create "faux" columns.
You can re-order your fields in the form editor so the tabindex works the way you want or you can use JQuery to change the field tabindex attributes if you're not dealing with a large form. Not ideal I'm sure, but that's how it works.
Kevin,
Thanks for the quick response. Could you give me an example of how I would change the field tab index using JQuery?
Something like this.. you would need to view the source, get the ID number of each input element, then redefine the tabindex using the jQuery .attr selector.
$('#input_7_3').attr('tabindex', '3');
$('#input_7_5').attr('tabindex', '4');
Again, if it's a smaller form, then that's probably doable.. if it's a really large form then this could be cumbersome.
reference: http://api.jquery.com/attr/
That worked, thank you.
Glad to hear it.