This may be better handled via JS

http://stackoverflow.com/questions/19001844/how-to-limit-the-number-of-selected-checkboxes

On Thursday, 25 September 2014 10:08:39 UTC-5, Nir Firestein wrote:
>
> hey,
>
> web2py newbies here :)
> we want to create a form with multiple boolean options (say, choosing X 
> species from a list of Y species), but we want to limit X, so that after 
> you check that certain number of options, you won't be able to select more. 
> We'd appreciate the help because so far we've got nothing :)
>
> Also, is it possible to give a "sub-headline" to a group of fields within 
> the same form? 
>
> Thanks!
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to