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

Show field as empty without null value by default

snriya
Tera Contributor

Hi,

 

I am adding a new variable in mvrs which should be empty single line text field. I want the field to be empty without any default and null value showing in variable.

 

In the attached picture below, the value is showing as null which I dnt want to should display as empty.

Pease help 

2 REPLIES 2

Najmuddin Mohd
Mega Sage

Hi @snriya ,

Are there any client scripts written referencing this variable ? Probably it is returning null.

If this information helps you, kindly mark it as Helpful and Accept the solution.

Regards,
Najmuddin.

Shraddha Kadam
Giga Sage

Hello @snriya,

 

Are you using a script ? If you are using a script then initialize value like var ab = ''

 

Thank you.

If my response was helpful, please mark it as correct and helpful.
Thank you.