form = SQLFORM.factory(Field('multiple_options', requires=IS_IN_SET(('Hi', 'Milk', 'Mom', 'Love', 'Santa')), widget=SQLFORM.widgets.checkboxes.widget))
Submit the form without selecting anything, and it displays the error message on each INPUT() helper. You can also change widget to SQLFORM.widgets.radio.widget and it will have the same effect. -Thadeus On Sat, Nov 21, 2009 at 3:35 PM, mr.freeze <nat...@freezable.com> wrote: > > Can you post some example code that produces the effect? Just want to > make sure I'm understanding the problem correctly. > > On Nov 21, 1:55 pm, Thadeus Burgess <thade...@thadeusb.com> wrote: > > http://static.thadeusb.com/web2py_checkboxes_fail.png > > > > Pleeeeeeaze fix!!! > > > > I have a patch, but it is not backwards-compatible. > > > > Is this an area where it is a bug, or a feature to have multiple error > > messages for checkboxes/radio widgets? > > > > -Thadeus > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---