I have the following in my component controller:
form = SQLFORM.factory(Field('productSiteId', db.productSite,
label='Add-on',
required=True, requires=requires),
Field('quantity', 'decimal(9,4)', label='at'),
_id='addonForm',
_formname='addonForm')
if form.process(formname='addonForm').accepted:
When new record is added to the controller the form.process... works fine
if using Firefox, but not when using Chrome/Opera or IE. What am I missing
to make this work reliably? The other three browsers all return False when
adding a new record. Firefox processes it as I'd expect it to.
--
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/groups/opt_out.