I’m working on a form in which my web visitor is asked to make a selection between a couple of options. Im doing this by adding a radiobutton (or a checkbox) before each option in a tablerow.
How can I force the visitor to choose only one option (out of three)? So you can only choose one of the three options. For example if you first choose A then change yoyr mind and choose B, A gets unchecked.
Hi Marcel,
Use radio buttons as they are designed to do exactly what you describe and users will also expect this behaviour. You ‘could’ do this with checkboxes but to replicate the single selection behaviour you’d need to employ some scripting to manage it. Also most users would get confused if one checkbox suddenly became unselected when they selected another.
I recommend you stick to radio buttons.
Add your three radio buttons to the page and make sure that they all have the same name in the 3rd tab on the Inspector palette (Cluster1 for example). Also make one of the radio buttons a default choice by selecting the Checked checkbox.
Now your users can make a selection between the three options but only one will be active at any given time.
Regards,
Tim.
On 25 May 2011, at 10:13, dadooper wrote:
I’m working on a form in which my web visitor is asked to make a selection between a couple of options. Im doing this by adding a radiobutton (or a checkbox) before each option in a tablerow.
How can I force the visitor to choose only one option (out of three)? So you can only choose one of the three options. For example if you first choose A then change yoyr mind and choose B, A gets unchecked.