Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4140 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello.

 

Is there any way to find what the tab order number is for an active field? Also, can this be scripted to jump to the next field in the tab order?

 

Thanks,

Stephen

Posted

Assuming that you're not interested in the number as such, and simply want to navigate within the tab order, there are two script steps ”Go to Previous Field“ and “Go to Next Field”, which do exactly that.

Posted

Assuming that you're not interested in the number as such, and simply want to navigate within the tab order, there are two script steps ”Go to Previous Field“ and “Go to Next Field”, which do exactly that.

 

I thought of using these script steps as part of my script in the solution. I tried using it after using the Go to Object with the field name (it does go to the object) and then I used the "Go to Next Field" and instead of doing that, it goes to the first field on the layout. Weird. I have each of my fields that are used with a tab order set up. Those fields that I am not using have been left blank.

 

Any more thoughts as to why that might not be working?

 

Thanks.

Stephen

Posted

I think using Go to Object selects the field as object, instead of entering the field and making it active. The Help has more to say about these steps; if e.g. you use Go to Next Field without a field being selected, it goes to (aka enters) the first field in the tab order (barring some caveats – just RTFM :-) )

 

So in your example, don't use Go to Object, but Go to Field [ fieldname ] as first step; this brings you “into” the tab order, and Go to Next Field should work as expected.

Posted

I think using Go to Object selects the field as object, instead of entering the field and making it active. The Help has more to say about these steps; if e.g. you use Go to Next Field without a field being selected, it goes to (aka enters) the first field in the tab order (barring some caveats – just RTFM :-) )

 

So in your example, don't use Go to Object, but Go to Field [ fieldname ] as first step; this brings you “into” the tab order, and Go to Next Field should work as expected.

 

Thanks, good to know! Here is my other complication. Since I am trying to use the tab order to navigate through some fields where I am masking a field which is not part of the tab order, if I go to the next field it takes me back to the first. And since I am trying to make this script general enough to be plugged into other layouts, I can't hard code in too much data without this getting messy.

 

So basically this is what I am trying to accomplish. User enters a field. (It has a drop down menu with show/hide arrow button). I use an onobjectkeystroke trigger to capture the user using the down arrow. I want to trigger the field to open the list. It doesn't since it already is using the arrow feature. So I created a masked field behind with this option unselected and cause that field to open up. The user selects their data and upon exiting I want to go to the next tab ordered field. But since the masked field is not in the tab order and it is not really seen by the end-user, it has no tab order, thus taking me to the first first upon using the Go to Next field.

 

Sorry for the lengthy explanation and I may be going about this wrong. So any input is very much welcomed!

Stephen

Posted

After the masked field opens the actual field, that one is selected, and not the masked one, so you would be within the tab order – or did I miss something?

Posted

After the masked field opens the actual field, that one is selected, and not the masked one, so you would be within the tab order – or did I miss something?

 

I tried that and it still jumps to the first field on the layout once I select one of the values in the value list. I can get the masked field with the list to open, but when I select it it goes to the first field, even when I have the Go to Next Field step used.

Posted

Well, sorry then, short of fiddling in the actual file and layout, I've run out of even semi-useful suggestions for a generic solution (I can only think of specific ones).

This topic is 4140 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.