Hi,

> I am fairly new to Turbo Gears, and am trying to work out how best to
> > deal with a form that is generating according to values in a database
> > -- i.e. I do not know what fields will be there until the a database
> > query is performed, and the types of fields may vary as well.
>

The approach I take is to define all the field that could possibly appear,
and use JavaScript and CSS to hide the ones that do not apply.

Validation can be a bit tricky, but that's surmountable.

Paul

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