Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Using a form....

Reply
Thread Tools

Re: Using a form....

 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      05-19-2008
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.

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

 
Reply With Quote
 
 
 
 
Raymond SCHMIT
Guest
Posts: n/a
 
      05-19-2008
On Mon, 19 May 2008 17:03:01 -0500, dba <> wrote:

>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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a Link Button to redirect to another page by using data from =?Utf-8?B?R1REcml2ZXI=?= ASP .Net 1 02-16-2005 07:04 PM
Error page using the Application_Error void dosnt work when using DIV for a please wait message s_erez@hotmail.com ASP .Net 2 12-24-2004 12:11 PM
no code in webform using vs.net, but in webform using notepad timmso ASP .Net 1 12-12-2003 04:30 PM
Using GetOleDbSchemaTable to get SQL Server Field Description - using pete ASP .Net 1 08-29-2003 10:50 AM
Re: MVP? Index error on nested element using System.xml but NOT using msxml??? William F. Robertson, Jr. ASP .Net 1 06-25-2003 08:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57