You may subclass DynaValidatorForm and override the reset function. As far as I am aware, the reset is handy for boolean values like checkboxes wherein you need to reset them back to false or true .
Shishir -----Original Message----- From: Sheldon Hearn [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 12:59 PM To: [EMAIL PROTECTED] Subject: How to reset properties of a DynaValidatorForm Hi folks, How are you supposed to reset properties of a DynaValidatorForm? The source suggests that DynaValidatorForm.reset() doesn't actually reset values to their defaults, and calling the method certainly doesn't do what I expected. I need to be able to do this from inside an action, so I can clear the values on success. This is necessary when success forwards to the page with the form on it, where you don't want the value that was just provided to appear in the form again, because it's been dealt with. Ciao, Sheldon. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]