thank you all very much!

---------- Initial Header -----------

From      : "Wojciech Ciesielski" [EMAIL PROTECTED]
To          : "Struts Users Mailing List" user@struts.apache.org
Cc          :
Date      : Mon, 19 Sep 2005 13:45:56 +0200
Subject : RE: HTML-Reset-botton works only before submit







> > thank you very much for your answer!
> > But when I validate and I've have a error
> > I would like that the wrong typing is still
> > displayed that the user can see what was wrong!
> > Only after the reset button is clicked the values should be
> > cleared!
> > Is there a good possibility?
>
> Reset button usually works as
> clear-what-I-have-changed-since-page-was-loaded button, not clearing the
> form. So on page displaying submitted data in order to correct data - reset
> sets fields to what was submitted.
>
> If you want to clear form:
>
> 1. javascript: setting values to empty (so you can clear without reloading)
> 2. you probably have two actions like showMyForm.do and updateData.do - send
> user again to first action with form (showMyForm.do) - it's easier but
> requires reloading page
>
>
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to