- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2015 09:17 AM
OK I know there is a system property to disable form focus:
http://wiki.servicenow.com/index.php?title=Modifying_Form_Focus
However, I don't want to disable it for my entire instance, just a specific form. (I'd like users to be able to scroll immediately upon loading of the form without the cursor being in the first writable field.)
Any ideas?
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2015 01:00 PM
You can remove focus in an onLoad client script for that form (use the "blur" method).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2015 01:00 PM
You can remove focus in an onLoad client script for that form (use the "blur" method).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2016 01:01 PM
I was able to take a look at this again, and that did provide me my solution:
function onLoad() {
//Type appropriate comment here, and begin script below
setTimeout("var refocus = g_form.getElement('u_incident_rtsd.contact_type');refocus.blur();",0);
}
Thanks!