I want to have a field on a form that is NOT on the tab order (in other words, they can NOT tab into it). They have to click on the field to enter data.
Is this possible?
Thanks
Bruce
Have Entry Field in Form NOT in Tab Order
Re: Have Entry Field in Form NOT in Tab Order
you could probably add JS to the field in front to set the .focus to the appropriate field, thus skipping the mystery field.
fname: [ ] onblur="goto lname"
init: [ ]
lname: [ ]
this would only work for forward TABs thru the fields. Shift-TAB would allow into 'init' and Shift-TAB from fname would go to 'lname'
fname: [ ] onblur="goto lname"
init: [ ]
lname: [ ]
this would only work for forward TABs thru the fields. Shift-TAB would allow into 'init' and Shift-TAB from fname would go to 'lname'
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Have Entry Field in Form NOT in Tab Order
Not sure if it will work, but have you tried putting -1 into the tab order field?
Aware IM Support Team
Re: Have Entry Field in Form NOT in Tab Order
it does NOT allow a - to be entered.
Bruce
Bruce
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Have Entry Field in Form NOT in Tab Order
Try the following script - note the script should be attached to the attribute itself:
markup.attr("tabindex") = -1
markup.attr("tabindex") = -1
Aware IM Support Team
Re: Have Entry Field in Form NOT in Tab Order
I actually thought this had worked for me, but I must have been wrong.
Browser console reports this when the Form starts:
Exception running script for attribute EIN of object Inventory ReferenceError: Invalid left-hand side in assignment
Browser console reports this when the Form starts:
Exception running script for attribute EIN of object Inventory ReferenceError: Invalid left-hand side in assignment
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 619
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Have Entry Field in Form NOT in Tab Order
The exception is due to a syntax error. It should be:Jaymer wrote:I actually thought this had worked for me, but I must have been wrong.
Browser console reports this when the Form starts:
Exception running script for attribute EIN of object Inventory ReferenceError: Invalid left-hand side in assignment
markup.attr("tabindex", -1)
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Re: Have Entry Field in Form NOT in Tab Order
this does not work for me.
I don't get a console error, but my Inspector code shows: tabindex="0"
after this runs.
I output a message via console.log so I know this code is executing.
I have attached this to the "script" property on a field on a form
I don't get a console error, but my Inspector code shows: tabindex="0"
after this runs.
I output a message via console.log so I know this code is executing.
I have attached this to the "script" property on a field on a form
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 619
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Have Entry Field in Form NOT in Tab Order
As mentioned by Jaymer, markup doesn't work.
There are a few ways to do it. Here is one of them.
Init Script of field
field.m_config.tabOrder="-1"
There are a few ways to do it. Here is one of them.
Init Script of field
field.m_config.tabOrder="-1"
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Re: Have Entry Field in Form NOT in Tab Order
OK, submitted by @idpsteve, here's a way to do it in Form Render Script.
$("input[id*='zTotalPaid']").attr('tabindex','-1');
$("input[id*='zTotalInvoiced']").attr('tabindex','-1');
$("input[id*='TotalAmount']").attr('tabindex','-1');
$("input[id*='fDolRemain']").attr('tabindex','-1');
$("input[id*='fLastBillDate']").attr('tabindex','-1');
$("input[id*='zTotalPaid']").attr('tabindex','-1');
$("input[id*='zTotalInvoiced']").attr('tabindex','-1');
$("input[id*='TotalAmount']").attr('tabindex','-1');
$("input[id*='fDolRemain']").attr('tabindex','-1');
$("input[id*='fLastBillDate']").attr('tabindex','-1');
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Have Entry Field in Form NOT in Tab Order
If you're interested in this, I'd suggest an email to Support.
Should be a simple change to allow the already-existing Tab Order property to allow a negative # to be entered.
Should be a simple change to allow the already-existing Tab Order property to allow a negative # to be entered.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 619
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Have Entry Field in Form NOT in Tab Order
Yep. That's one of the other ways.
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
-
- Posts: 7526
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Have Entry Field in Form NOT in Tab Order
Watch out for the next build - it will allow entering -1
Aware IM Support Team