struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashima Beri <ashima.b...@gmail.com>
Subject reset problem for a dynavalidator form
Date Sat, 02 Feb 2008 17:14:36 GMT

Hi,
I am trying to reset a validator form after the form is submitted and a few
of the validations have failed.
Reset button used in the form clears out fields changed only since the time
the form is loaded. That is it does just the client side reset. One way that
i figured out was to submit the form back to the jsp so that the jsp reloads
with all the form field reinitialized.
Is there some other method of clearing out the form fields after it has
failed the validations defined in validation.xml?
Thanks in advance for all the valuable suggestions!
Ashima Beri
-- 
View this message in context: http://www.nabble.com/reset-problem-for-a-dynavalidator-form-tp15244933p15244933.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message