Client Scripts

Recently I worked on a project that required two date / time fields to be blanked on load of a new form. To do this I used a client script with the “onLoad” type selected, see my code below for how this was simply achieved: 1234567function onLoad() { if (g_form.getValue(‘number’) == ”) { g_form.setValue(‘start_date’, ”); …

Continue reading Blank a field with a client script in ServiceNow