can we hide none from select box?

Akki1
Tera Contributor

hi,

I'm using the select box variable with configuration "dropdown with none". But can I hide it in scripts?

 

3 REPLIES 3

Sai Kumar B
Mega Sage
Mega Sage

@Akki1 

The script is not required, In the variable record Type specifications tab "un-check" the include none checkbox

 

 

Mohith Devatte
Tera Sage
Tera Sage

Hello @Akki1 ,

try to uncheck include none check box in the below highlighted tab 

Screenshot 2023-01-24 at 15.19.55.png

Hope this helps 

Mark my answer correct if this helps you 

Thanks

Basheer
Mega Sage

Hi @Akki1,

Try using g_form.removeOption(); in your onload client scripts.

(Or)

Do this as workaround

Create a label in the choices with NULL_OVERRIDE and select Dropdown without noene and set default value to NULL_OVERRIDE. Also need to uncheck the "include none" checkbox.

 

Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.