these seem to work! function onSubmit () { alert ( g_form . getDisplayBox ( 'cost_center' ). value ); //--classic UI alert ( g_form . getDisplayValue ( 'cost_center' )); //--service portal }
All things ServiceNow... take a look at my channel: https://www.youtube.com/@cloudminus89
Hey Ruen, that is a SNUtils function not OOTB/SNC. Anyway love your blog, 'we' seem to be just behind on the same features you work on so the hints are great.
ReplyDeleteah yes! thank you for pointing that out
ReplyDelete