Script Problem.

M

Michael

Hello

I have found in the Internet a script that passes the value of a text field when the submit button is pressed onto the next page. The problem is that text appears in the "address bar" of browser. For example, please visit: http://www.manbiz.com/deltapay/x.html write there "test" and click "go". In the next page you see "test" in the address bar. I don't want to appear the text in the address bar. Is there any way to fix that? Or maybe you know any other script that will help me.

Thanks for time

Michael
 
B

Bob Lehmann

Add method="post" to the <form> tag.

Bob Lehmann

Michael said:
Hello,

I have found in the Internet a script that passes the value of a text
field when the submit button is pressed onto the next page. The problem is
that text appears in the "address bar" of browser. For example, please
visit: http://www.manbiz.com/deltapay/x.html write there "test" and click
"go". In the next page you see "test" in the address bar. I don't want to
appear the text in the address bar. Is there any way to fix that? Or maybe
you know any other script that will help me..
 
J

Jon Spivey

Hi Michael,

Not the way you're doing it I'm afraid. There's 2 ways to submit form data
GET where the data is passed to the next page in the URL (this is what
you're using) and POST which sends the form data "behind the scenes" (ie
invisible to the user - which is what you want)

You can use javascript to retrieve form data submitted by GET but to use
post you'd need some server side code. Ask your host what they support,
you'll probably get an answer of either ASP or PHP. When you have this
information post back here and we can tell you how to do what you want.

--
Cheers,
Jon
Microsoft MVP - FP

Michael said:
Hello,

I have found in the Internet a script that passes the value of a text
field when the submit button is pressed onto the next page. The problem is
that text appears in the "address bar" of browser. For example, please
visit: http://www.manbiz.com/deltapay/x.html write there "test" and click
"go". In the next page you see "test" in the address bar. I don't want to
appear the text in the address bar. Is there any way to fix that? Or maybe
you know any other script that will help me..
 
Top