also this might be useful

http://askthecssguy.com/articles/disabled-labels-and-the-trilemma-plugin/


On Tuesday, September 30, 2014 1:40:23 PM UTC-7, Derek wrote:
>
> Yes, you need to limit it with javascript, the client only knows 
> checkboxes and options.The only way the client knows how many are selected 
> is via javascript.. though perhaps you could use some weird css rules...
>
> http://css-tricks.com/radio-buttons-with-2-way-exclusivity/
>
>
> On Friday, September 26, 2014 11:00:00 PM UTC-7, Massimo Di Pierro wrote:
>>
>> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to