How to set the toggle button to not include items by default when the form loads on "choose options"

Aayushi tandon
Tera Contributor

Hi Everyone,

 

How to set the toggle button to not include items by default when the form loads on "choose options" tab in SC order Guide Widget? Currently it's includes all the items by default by turning on the toggle button to right. 

Could you please advise how to achieve this? I want users to select the options what they require by turning on the toggle button.

 

img.png

 

As per suggested some solution on community: i have clone the SC order guide widget and i set the value to "False" in server script of the widget.

item.included = true;

 

But still it is not working for me

ss.png

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Aayushi tandon 

I will suggest not to play around using widget approach

If you still want then did you add the cloned widget to the catalog page?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

yes i add to the catalog page. but still it is not working,

Untitled.png

@Aayushi tandon 

not very sure then

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader