Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

check box true/false on catalog items

levino
Giga Guru

Hi there

 

i have a catalog item with couple of checkboxes on it,

instead of  displaying true or false, can i display the label option ?

is there a onsubmit client script

 

 

note:  saving the question choice table as a list collector is not a option becoz of the acl permissions in my companys instance

 

Thanks

Levino

 

 

1 ACCEPTED SOLUTION

Hitoshi Ozawa
Giga Sage

Hi,

How about cascading select box selection?

Something like below?

find_real_file.png

View solution in original post

11 REPLIES 11

Hi Ankur

on the catalog item there are about 10 checkboxes

e.g.

cable

monitor

keyboard

i was thinking of a onsubmit client script e.g. if cable = true set value on a single text variable

needed help if all 10 boxes are selected, how do i comma separate the values

am i looking at a list array, please provide a sample script, just the array bit

 

Thanks

Levino

 

 

Hi,

So form will contain 10 checkboxes

So what should happen on select of each checkbox?

Regards
Ankur

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

Hi Ankur

i am ok with this one will go another way, should i mark as correct answer for now?

 

Thanks

Levino

Hi levino,

Hold on a while. Let me take a shot on this.

Hitoshi Ozawa
Giga Sage

Hi Levino,

Want to confirm.

Is the field type a "checkbox" or "Yes/No"?

Checkboxes are like below on the form.

find_real_file.png

In RTIM, it shows up under variables like checkboxes.

find_real_file.png

Yes/No fields are like below

find_real_file.png

They show up like below in rtim.

find_real_file.png

Both shows labels and not just yes or not. Would appreciate a screen shot showing what is happening.