We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

PrashantLearnIT
Tera Sage

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('<url field name>') == '') {
        g_form.getControl("<url_field_name>_unlock").click();
    }
}

 

If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL

 

Best Regards,

Prashant Kumar (LearnIT)

 

YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant

Blog LearnIT: https://medium.com/@LearnITbyPrashant

Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/

ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635