Select box

Pavan rishi
Tera Contributor

I created a select box variable in record producer ,and I want the default text (which is not answer for the question) value to be visible but not included in the dropdown options. How can I achieve this?

 

5 REPLIES 5

Sujatha V M
Kilo Patron
Kilo Patron

@Pavan rishi  Below is my understanding based on your requirement, 

 

I assume you wanted to have a value within the "Select Box" field but it must not be display on selection. 

 

You can use watermark option using 'Example Text' available in the out-of-the-box. 

 

SujathaVM_0-1725870082959.png

SujathaVM_1-1725870179158.png

 

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

@Sujatha V M How it is possible in record producer?

@Pavan rishi Sorry!!! It will work only on string fields. As @Anurag Tripathi said, it wont work but you can use "Hint/Tooltip". 

 

Reference link : https://www.servicenow.com/community/now-platform-forum/how-to-add-placeholder-function/m-p/1176569.

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

This will not be possible.

You can either use Help text & Instruction like shown below

AnuragTripathi_0-1725873431141.png

AnuragTripathi_1-1725873456308.png

 

OR You can create a choice with the default value you want, make it the default on variable. And using On submit script force user to make a different choice.

 

 

-Anurag