I am using 0.9a1 and have a form with, among other things, a couple of
SingleSelectField widgets in it.  The options in the second widget
depend upon what value is selected in the first widget.  More
concretely, depending upon which "client" the user selects, I want them
to be able to select from a list of "Projects" associated with that
client.

I was going to try my hand at AJAX, but immediately ran into a JSON
problem which I have asked about in another thread.

The other thing that I could do is reload the page.

I have 2 problems with going that route.

I have not found a way to give a TableForm widget a name. (I don't know
of a way to submit a form "onchange" unless the form has a name.)

The other problem is validation.  If the page reloads simply because
the first SelectField was changed, I do not want to get the diagnostic
output complaining that certain fields have not been filled in yet.

Can anyone point me in the right direction?


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

Reply via email to