Need help validating a form with dynamic fields
"Matthew Wilson" <[email protected]> Fri, 8 Aug 2008 14:00:07 -0400
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
I'm dynamically generating form elements. for example, each user has
many magazine subscriptions. So I make a checkbox for each
subscription named something like "name_${subscriptionID}". How can I
write a validator when the name isn't known?
I want to validate that every field that starts with the string
"name_" has a valid integer.
How can I do this?
--
Matthew Wilson
[email protected]
http://tplus1.com
216-470-6058
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/