If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#51679 by BLOMASKY
Wed Sep 25, 2019 5:49 pm
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
#51680 by Jaymer
Wed Sep 25, 2019 8:13 pm
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'
#52103 by Jaymer
Sun Nov 17, 2019 1:16 am
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
#52105 by johntalbott
Sun Nov 17, 2019 6:54 am
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


The exception is due to a syntax error. It should be:

markup.attr("tabindex", -1)
#52615 by Jaymer
Mon Jan 06, 2020 6:53 am
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
#52625 by johntalbott
Tue Jan 07, 2020 2:52 am
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"
#52646 by Jaymer
Wed Jan 08, 2020 3:46 pm
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');
#52647 by Jaymer
Wed Jan 08, 2020 3:47 pm
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.
#52649 by johntalbott
Wed Jan 08, 2020 4:02 pm
Yep. That's one of the other ways.

Who is online

Users browsing this forum: MSN [Bot] and 26 guests