You need to sign in to do that
Don't have an account?
adampro
Uncheck an inputCheckbox when another is selected
Hi,
I'm designing a survey page where every question has two possible answers, and the user is only allowed to select one. I want to make it so that when a box is set true, it will turn the other one false to ensure only one box for that question is checked. Can anyone think of a good way of doing this?
Is there a way to call a method after the box has been set true? I know you can re-render page blocks but I don't think that helps here.
Thanks!
Nevermind, I found you can get this functionality from a selectRadio tag instead of inputCheckbox.