I have a field defined as follows:
Field('payment_method', length=20, requires=IS_IN_SET(('Check', 'ACH
Payment')), widget=lambda field, value: SQLFORM.widgets.radio.widget(field,
value, cols=2))
When I look at the generated html with firebug I can see that the id
generated for the input field is - id="payment_methodACH Payment"
I believe this is invalid HTML. Can we get this modified so an underscore
is put in place of the space?
-Jim
--
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.