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

Would like to keep the field blank onload (I dont want to have --None-- also)

Naveenkumar Sat
Tera Contributor

Hello,

 

I would like to have a field empty or blank when loading the form, I see there is a none option but i would like to use blank instead of none. Can someone help me out here please?

1 ACCEPTED SOLUTION

Voona Rohila
Giga Patron

Hi @Naveenkumar Sat 

You can just use Onload Client script with below line.

g_form.addOption('fieldname', '', '', 1);

Configure choice as Dropdown without None.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
5x ServiceNow MVP

View solution in original post

1 REPLY 1

Voona Rohila
Giga Patron

Hi @Naveenkumar Sat 

You can just use Onload Client script with below line.

g_form.addOption('fieldname', '', '', 1);

Configure choice as Dropdown without None.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
5x ServiceNow MVP