Hi
is there a way to keep the tabbing of fields within a Form, ie the Form retains the focus until a user clicks out of it? I ask because I use a form to send emails and when you tab out of the last input field, it jumps to the top of the page, ie the next tab-able field.
TIA
Tabbing in Fields
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: Tabbing in Fields
You can use the 'tab-index' to set the tab-order.
Re: Tabbing in Fields
Hi
I have but it still jumps to the top of the page.
Please visit http://www.directgasltd.co.uk/ and scroll to the form at the bottom. Just tab out of the last field and for whetever reason, it jumps to a Link at the top, which oddly doesn't have a tab value anyhow.
What am I missing?
Thanks for you help as usual.
Cheers
I have but it still jumps to the top of the page.
Please visit http://www.directgasltd.co.uk/ and scroll to the form at the bottom. Just tab out of the last field and for whetever reason, it jumps to a Link at the top, which oddly doesn't have a tab value anyhow.
What am I missing?
Thanks for you help as usual.
Cheers
Re: Tabbing in Fields
You haven't set the Tab Index on the Send Form button.
Re: Tabbing in Fields
Hi WWBman
Ah, I hadn't considered the buttons as tabbable but have now set these and, not surprisingly, it now jumps to the button
In my original query I also asked if it were possible to keeps the tabs within a form, ie it just cycles the form and the user must click out to go elsewhere. Again this is because although the buttons are now tabbed, tabbing from the 'Send Form' jumps back up to the top of the page
Cheers
Paul
Ah, I hadn't considered the buttons as tabbable but have now set these and, not surprisingly, it now jumps to the button
In my original query I also asked if it were possible to keeps the tabs within a form, ie it just cycles the form and the user must click out to go elsewhere. Again this is because although the buttons are now tabbed, tabbing from the 'Send Form' jumps back up to the top of the page
Cheers
Paul
Re: Tabbing in Fields
Sorry, I don't know a way of doing your second point, maybe someone else does.
Are you sure you want it to do that?
I don't think forms usually do that, I could be wrong.
Are you sure you want it to do that?
I don't think forms usually do that, I could be wrong.
- BaconFries
-
- Posts: 5648
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Tabbing in Fields
It may be possible using some javascript but you may not be interested in what I say. But as WWBman has said forms don't usually do this and onsubmit the form is submitted and directed away to another page such as the index page.
Re: Tabbing in Fields - SOLVED
Hi WWBman and BaconFries
Thank you both for you input on this.
As you both say, I can't see an easy way and BaconFries, you are probably right in the JavaScript route and while I would be very interested in what you say, I'm not sure it's going to be worth the effort needed to achieve what looks to be a simple function/feature so will probably leave it.
Thanks again for you help.
Cheers
Paul
Thank you both for you input on this.
As you both say, I can't see an easy way and BaconFries, you are probably right in the JavaScript route and while I would be very interested in what you say, I'm not sure it's going to be worth the effort needed to achieve what looks to be a simple function/feature so will probably leave it.
Thanks again for you help.
Cheers
Paul