I have found the bug, in my form, yet I am none the wiser. I was
initially thinking there was something wrong with my controller
implementation.
The problem seems to have more to do with the validator that I was
using, though it may be something to do with the highly nested form
structure. (ListForm containing RepeatingFieldSet containing
RepeatingFieldSet)

In my form, I had a RepeatingFieldSet . One of the fields in the
repeating field set had a field that had a field that was defined as
follows:

    qty_ordered = widgets.TextField(name="qty_ordered", label='Qty',
validator=validators.Int(),
                       css_classes=['col_short'], attrs=dict(size='3',
maxlength='6', onchange='update_total(this);'))

I replaced the validator with this one and it works:
    validator = validators.Number()

The only difference that I can see is Int() is a validator from
FormEncode, while Number() is part of TurboGears.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to