Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Unable to set Default value in Widget

Shubham_1120131
Tera Contributor

Hello Everyone, 

I am trying to setup a default value in the widget (Catalog Checkout). In the HTML part of the code I am using <Select> tag for the choice for the user to select the answer from Yes or No. Now I want it to work like a default for the User. So that when the form loads it would have No as an option. 

Shubham_1120131_0-1717082155093.png

 

In the code for the Widget (Catalog Checkout) I am using required and selected attribute for making it mandatory and setting up No as a default value. But for some reason I am not able to see it work over the ServiceNow portal. 

 

I would appreciate if anyone could help me with this. 
Thank you in advance for your time and attention in this matter. 

1 REPLY 1

Priyadharashin1
Tera Contributor

HI @Shubham_1120131 ,

 

Were you able to resolve this?