On Monday 09 July 2007 12:36:04 rcrit wrote:
> I want to provide a list of attributes and display names (and
> validator types would be nice too) and have a form dynamically
> created, along with a working post action.
>
> So I want to be able to pass in something like:
>
> ('First name', fname, PlainText)
> ('Last name', lname, PlainText)
> ('Phone Number', phone, NotEmpty)
>
> And have these displayed in a table format then returned as an indexed
> dict so I can reference foo['fname'] and get the value that was
> provided.

That's how widgets works.

Take a look at their documentation.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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