kerinin schrieb: > To answer my own question (in case anyone else cares) it seems that > the validators apply either to the value being returned in the case of > non iterables or the contents of the iterable being returned - so for > instance the Int() validator will create an integer if the form value > is '10', or it will create a list of integers if the form returns > multiple values for the same name.
Using the ForEach-validator you can enforce that a value is _always_ a list, even if it's ony one selected item that's returned. Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

