Record Producer - Change tab order

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2020 07:35 AM
Hi,
I am developing a Record Producer and I would like to change the tab order.
It seems like ServiceNow tends to go from top to bottom, and then left to right within the same container. However, I need to go left to right, and top to bottom.
I tried to change the layout and change the input orders to keep everything in place, but the tab order remains the same.
Does anyone know how to change the tab order from left to right?
Thanks!
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2020 07:38 AM
Hi,
Can you provide screenshot to give better clarity?
Please mark as Helpful, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2020 07:48 AM
Have you tried using container splits??
Please mark my response as correct and helpful if it helped solved your question.
-Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2020 07:53 AM
Hi Alexandre
If you go to the main record producer page and scroll down to the related lists and select variable sets tab
Click on the i icon next to your variable set and a little pop up box appears so you can change the order.
This changes the order for that record producer and not all the other items that use that variable set.
You can try this because am not sure about your requirement.
Please mark my answer correct and helpful, If this helps you in any way
Saurabh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2020 12:26 PM
Thanks everyone for your help.
I just wanted to clarify what I am trying to do. Here's a screenshot of part of the Record Producer:
After I selected the "Start date", I want to press "Tab" to go to the next field (End date). At the moment, it goes to "Probationary Period" instead of going to "End date".
I cannot find any built-in property to change that order (In plain HTML, the property would be "tabIndex").
I looked at the API, it seems that we can change fields properties with "g_form" using the method "getControl()".
I tried this:
g_form.getControl("start_date").tabIndex="1";
g_form.getControl("end_date").tabIndex="2";
g_form.getControl("probationary_period").tabIndex="3";
Unfortunately, it does not work. I wonder if it could be because the tab first go to the "calendar" icon before moving to the next field and therefore "break" the sequence.
Thanks again for your help.
Any idea would be greatly appreciated.