[phorm] [Phorm:] Re: Form Clear/Reset Button not working

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 29 Jul 2003 10:50:23 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#3069) Re: Form Clear/Reset Button not working 
            <http://www.phorm.com/support/?rev=3069> 
  AUTHOR:   Holotech 
  DATE:     July 29, 2003 at 6:50 a.m. EST 

  Reply To: (#3059) Form Clear/Reset Button not working 
  Author:   Jason 
  Date:     July 28, 2003 at 9:07 a.m. EST 

> After a from is checked against the rules.txt file and 
> the error page is displayed the clear/reset button 
> will only rest the form fileds that where corrected 
> after the pages was checked against the rules.txt 
> file. Any fields that passed a rule and were passed to 
> the error page do not clear. 

The thing to keep in mind is that an HTML reset button is not a clear button. 
That is, it resets the form to its original values, it doesn't clear the form. 
One solution would be to have a button that triggers a bit of JavaScript which 
cycles through the fields and clears them. A nice thing about doing it that 
way is, you can have the clear code store the values in variables as it clears 
them, and then have an undo button that would restore them. 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: