catalog client script : check atleast one checkbox

aravind23
Tera Contributor

Hi Folks,
I have a catalog item where there are 10 checkboxes under one label, So i need a catalog client script where user should be able to submit the catalog only if he enables one checkbox minimum.
Any leads on that?

 

3 REPLIES 3

Musab Rasheed
Tera Sage
Tera Sage

Hello,

There you go

https://www.servicenow.com/community/it-service-management-forum/make-at-least-one-checkbox-mandator...

Please hit like and mark my response as correct if that helps
Regards,
Musab

Mike_R
Kilo Patron
Kilo Patron

Set one of the checkboxes as mandatory/selection required.

It will enforce the mandatory for any of them

SanjivMeher
Kilo Patron
Kilo Patron

Below is one option using script

https://www.servicenow.com/community/it-service-management-forum/how-to-make-at-least-one-checkbox-f...

 

The other option is out of box where you can mark selection required the checkbox to make it mandatory to select one option.

https://www.servicenow.com/community/developer-forum/mandatory-checkbox-on-form/m-p/2001162

 


Please mark this response as correct or helpful if it assisted you with your question.