HighDots Forums  

Using a form....

alt.html alt.html


Discuss Using a form.... in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dba
 
Posts: n/a

Default Using a form.... - 05-18-2008 , 08:21 PM






Currently the form is filled and the data entered into a database. Then
the form is displayed again, however the data entered on the firm prior
is still there. How do I get the form to "start clean" with empty fields?

TIA

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Using a form.... - 05-19-2008 , 02:47 AM






Scripsit dba:

Quote:
Currently the form is filled and the data entered into a database.
Then the form is displayed again, however the data entered on the
firm prior is still there. How do I get the form to "start clean"
with empty fields?
By using an appropriate form handler that sends back the response you
want to send.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/



Reply With Quote
  #3  
Old   
dba
 
Posts: n/a

Default Re: Using a form.... - 05-19-2008 , 05:03 PM



Again, do not understand.

Jukka K. Korpela wrote:
Quote:
Scripsit dba:

Currently the form is filled and the data entered into a database.
Then the form is displayed again, however the data entered on the
firm prior is still there. How do I get the form to "start clean"
with empty fields?

By using an appropriate form handler that sends back the response you
want to send.


Reply With Quote
  #4  
Old   
Raymond SCHMIT
 
Posts: n/a

Default Re: Using a form.... - 05-19-2008 , 06:09 PM



On Mon, 19 May 2008 17:03:01 -0500, dba <someone (AT) someplace (DOT) org> wrote:

Quote:
Again, do not understand.

Jukka K. Korpela wrote:
Scripsit dba:

Currently the form is filled and the data entered into a database.
Then the form is displayed again, however the data entered on the
firm prior is still there. How do I get the form to "start clean"
with empty fields?

By using an appropriate form handler that sends back the response you
want to send.


My "Form_Carmen.php" contains:

<form name="myform" action="Mail-Carmen.php" METHOD="POST"
onSubmit="return checkme(this);">

The action will start another page "Mail-Carmen.php" which could
create another page.... with the result of the operation.

You can also combine to have an "onload" mechanism to recall
"Form_Carmen.php" with a parameter "succes" or "fail" - so this form
could have also the information about the previous transmit of the
form - (the new form will have all zones cleaned)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.