We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

UI builder checkbox get value

Tadz
Kilo Sage

Hi

 

How do we check the selected checkbox value or name?

Tadz_0-1737708157168.png

 

Currently i have these multiple checkboxes where when we click on one of them we can identify which checkbox has been selected. 
I created a client script to show the event values, however event.payload doesn't have a value?

 

Is there a way to get the checkbox value or identifer when we trigger an event + client script?

 

1 ACCEPTED SOLUTION

Kevin83
ServiceNow Employee

I test this and I see a value:

Screenshot 2025-01-24 at 8.37.29 AM.png

Screenshot 2025-01-24 at 8.36.58 AM.png

View solution in original post

3 REPLIES 3

Kevin83
ServiceNow Employee

I test this and I see a value:

Screenshot 2025-01-24 at 8.37.29 AM.png

Screenshot 2025-01-24 at 8.36.58 AM.png

Thank you, now its working. I didn't think of doing console.log(event); 😅