Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Form Load Field Focus - How to Disable?

G24
Kilo Sage

When I open up a new browser tab and surf to a ServiceNow URL, if the filter navigator is open (not collapsed to the left), I want for the typing Cursor to end up in the Filter Navigator.  I do NOT want it to end up in the first field of whatever form I am surfing to.  See here:

 

FieldFocus.png

 

1) Is there a way that I can, on a SYSTEM-WIDE basis, stop the user's cursor from being taken from where I am typing in the filter navigator to the form, after the page fully loads?

 

2) Or is there a way that I can prevent that from happening JUST FOR ME, that is on a user preferences basis?

 

It's really frustrating when I am happily typing in a location to navigate to, and then suddenly the focus shifts to the form, and I start overwriting whatever text was in whatever field the system took me to... And then when I place the cursor BACK in the filter navigator and finish typing and hit the Enter key, then I have to deal with the question "Leave site?  Changes you made may not be saved. - Leave or Cancel?"

 

Thanks you for any assistance you may be able to provide on this.

1 ACCEPTED SOLUTION

Marco0o1
Tera Sage

Hi @G24 ,

 

You can disable the focus on first field following the next instructions:

- Go to sys_properties table

- Look up for the glide.ui.focus_first_element element

- Change to false

Marco0o1_0-1693947904084.png

Then when you open a record in any table wont focus any element.

 

The only issue is for focus the filter element when load.

 

Hope that help you

View solution in original post

1 REPLY 1

Marco0o1
Tera Sage

Hi @G24 ,

 

You can disable the focus on first field following the next instructions:

- Go to sys_properties table

- Look up for the glide.ui.focus_first_element element

- Change to false

Marco0o1_0-1693947904084.png

Then when you open a record in any table wont focus any element.

 

The only issue is for focus the filter element when load.

 

Hope that help you