The CreatorCon Call for Content is officially open! Get started here.

I have 3 checkboxes and want only 1 to be selected at the time

asd22
Tera Contributor

Hello.

 

I got 3 checkboxes in a variable set, and i want it only to be available to have 1 selected at a time

My checkbox names are :

check1

check2

check3

 

Is this a client script that is needed?

1 ACCEPTED SOLUTION

Hi,

You can do this via simple ui policy , no code.

In the condition have <checkbox 1> <is> <true>

Using the ui policy actions , clear value of checkbox 2 and 3.

 

Do same ui policies for checkbox 2 and 3

-Anurag

View solution in original post

11 REPLIES 11

okay.. got iut now. Thanks for adding in  my experience . I really feel ashamed now, that why i dint think this can be done via UI policy and jump to client script 😞

#

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Not at all mate, That is the beauty of this community. You learn new things each day.

-Anurag