Set field value from script include

josh_brostoff
Giga Contributor

I want to clear the assigned_to field by using a script include. However, i cant use g_form.setValue('assigned_to', ""); on a script include.   How else could I do this?

1 REPLY 1

sergiu_panaite
ServiceNow Employee
ServiceNow Employee

Hi Josh,



In script includes you can use current.assigned_to = '';



Hope this helps.



Regards,