I think you should use SQLFORM.widgets.radio.widget for the behavior you
would have... Radio button are used when you want only one choice at a
time, check box is when you want multiple input...
Richard
On Tue, Jan 3, 2012 at 11:01 AM, thodoris wrote:
> Hello,
>
> I have come uppon the following. If i declare the following field
>
> Field('test', notnull=True,
> requires=IS_IN_SET([1,2,3,4],multiple=False),widget=SQLFORM.widgets.checkboxes.widget),
>
> The expected behaviour should be to be able to select only one checkbox.
> What is happening is that i am allowed to select multiple boxes but gives
> me an error when i try to submit my form.
>
> Any ideas?
>
>
>
>