function
onLoad() {
//shared functions for form load
var label='Select site';
var labelElement = $('label_' + g_form.getControl('requested_for').id);
labelElement.select('.sn-tooltip-basic').each(function(elmt) {
elmt.innerHTML = label;
});
}
(courtesy of https://www.servicenowguru.com/system-ui/ui-scripts-system-ui/modifying-label-form-fields-client-scripts/ )
note: have just realised this doesn't appear to be Service Portal friendly!!! SP version to follow...
Comments
Post a Comment