Thanks!  I figured it was cherrypy.request.something but I didn't see
input_values in the cherrypy docs.

This is an employee performance review application.  What I am doing is
this:

Skill:     _______________ (dropdown)
Rating:  _______________ (dropdown)
Review Text: (TextArea)
[Submit]

Based on the combination of employee skill and performance rating
together, I want to put some default text, from a database lookup, to
apprear in the TextArea, which the manager can massage into what s/he
feels appropriate.

If the Skill or Rating change, I want to update the text.  But if
Submit is pressed, I want the "real" validation to take place and the
record to be saved.  So I name my submit button and require that it
have been been pressed for the validation to pass, and zap the errors
in cherrypy.request.validation_errors if the submit button was not
pressed.

Most of my apps do something like this.  I always want to do it with
ajax, but have ended up doing it the old fashioned way because I'm more
comfortable (aka familiar) with it.


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