logo

NJP

ServiceNow Things to Know 116: empty URL type field

Import · May 13, 2024 · article

Hello Everyone,

Want to unlock an empty URL type field by default?

Global level:

Set this system property to true : glide.ui.unlock_empty_url

At form level:

Then use the below client script

function onLoad() {

if (g_form.getValue('') == '') {

g_form.getControl("_unlock").click(); }

}

View original source

https://www.servicenow.com/community/developer-blog/servicenow-things-to-know-116-empty-url-type-field/ba-p/2927786