Uncheck checkbox

Hey,

if you got for example 3 chechboxes in a form and you want to say if 1 of the tree is selected then the others must be unchecked

I did it in formula with @if(…); with the functions elements and len but it didn’t work

can somebody help

Subject: uncheck checkbox

Hi Thomas,

Why don’t you use a radio button instead of checkbox? By the nature of checkboxes, it’s “check all that apply” whereas radio buttons are “choose one.” Simple. I can help you with the checkboxes if you want but radio buttons seem the obvious answer.

Trish

Subject: uncheck checkbox

Input Translation formulas on the second and third checkboxes could do the trick.

For example, the input translation formula for checkbox2 could be:

@If( checkbox1 = “A”; checkbox2; “” )

This would clear checkbox2 if checkbox1 did not have A selected and retain the selected value if checkbox1 = “A”.

If you check “Refresh fields on keyword change” for checkbox1, then when you uncheck “A” in checkbox1, it should clear checkbox2.

Subject: RE: uncheck checkbox

thanks It works fine now