- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2014 02:53 PM
Hi,
How do I auto-select/auto-focus a section when I click an UI Action or onSubmit client script?
I have tried using focus() and select() on the target field but it is not showing when the section form is not selected.
Please help....
Thanks,
Dor
Solved! Go to Solution.
- 6,622 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2014 03:29 PM
To switch to a particular form section (tab), use the following client-side code:
g_tabs2Sections.setActive(X);
where X is the number of the section (tab).
For more information on how to deal with form tabs in scripts, have a look at this blog post:
Demystifying form tabs | SNOWman's Blog
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2014 03:29 PM
To switch to a particular form section (tab), use the following client-side code:
g_tabs2Sections.setActive(X);
where X is the number of the section (tab).
For more information on how to deal with form tabs in scripts, have a look at this blog post:
Demystifying form tabs | SNOWman's Blog
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2014 03:41 PM
Hi Slava,
You are amazing!!!!! Thank you.....
Dor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2014 04:35 PM
Salvador, I am glad to hear my answer was helpful. Lots of other tips and tricks will be appearing in my blog soon. Feel free to subscribe to it and be the first one to take advantage of all the cool stuff that will be posted there.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2017 03:22 AM
How to get the number of section(tab)