#696: NotEmpty validator doesn't work on CheckBoxList
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Widgets | Version: 0.9a1
Severity: normal | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Changes (by L33tminion):
* status: closed => reopened
* resolution: fixed =>
Comment:
This problem does not appear to be fixed!
{{{
task_form = TableForm(fields=[CheckBoxList(name='tasks',
label='Do These:',
options=[('spam', 'Eat
Spam'),
('eggs', 'Eat
Eggs')],
validator=NotEmpty())],
submit_text='Eat')
}}}
The above form still validates when no options are selected (and I have
the same problem if I use `String(not_empty=True)` instead of
`NotEmpty()`).
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/696>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---