Variable from text box moved to url

L

LDM

Hello,

I have a webpage set up to take in a number as input from a text box. I want
to plug the number entered into a url. The number is a parameter that the url
needs to run.

example:
enter number:
<input type="text" name="num" size="5">
<a href="http://TheUrlHere&num">

Is there a way to do this?
Thank-you,
LDM
 
J

Jens Peter Karlsen[FP MVP]

You set the forms method to GET and its action to the wanted page.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
L

LDM

Hi Thanks for responding. Ok, I set the method to GET and the action to the
wanted page. It now looks like this:

<form method="GET" action="http://TheURLHere.....&number=num"><p>
Enter ISBN<input type="text" name="num" size="5">
<input type=submit value=go></p>
</form>

It starts to execute and then I get an error about the parameters (num). Any
other ideas?

LDM

Jens Peter Karlsen said:
You set the forms method to GET and its action to the wanted page.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: LDM [mailto:[email protected]]
Posted At: 23. januar 2005 16:53
Posted To: microsoft.public.frontpage.programming
Conversation: Variable from text box moved to url
Subject: Variable from text box moved to url


Hello,

I have a webpage set up to take in a number as input from a
text box. I want to plug the number entered into a url. The
number is a parameter that the url needs to run.

example:
enter number:
<input type="text" name="num" size="5">
<a href="http://TheUrlHere&num">

Is there a way to do this?
Thank-you,
LDM
 
J

Jens Peter Karlsen[FP MVP]

I don't remember asking you to enter anything but the URL.
Remove &number=num.
You should also use a relative URL unless of course it isn't your own
page.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: LDM [mailto:[email protected]]
Posted At: 24. januar 2005 02:01
Posted To: microsoft.public.frontpage.programming
Conversation: Variable from text box moved to url
Subject: Re: Variable from text box moved to url


Hi Thanks for responding. Ok, I set the method to GET and the
action to the wanted page. It now looks like this:

<form method="GET" action="http://TheURLHere.....&number=num"><p>
Enter ISBN<input type="text" name="num" size="5">
<input type=submit value=go></p>
</form>

It starts to execute and then I get an error about the
parameters (num). Any other ideas?

LDM

Jens Peter Karlsen said:
You set the forms method to GET and its action to the wanted page.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: LDM [mailto:[email protected]]
Posted At: 23. januar 2005 16:53
Posted To: microsoft.public.frontpage.programming
Conversation: Variable from text box moved to url
Subject: Variable from text box moved to url


Hello,

I have a webpage set up to take in a number as input from a text
box. I want to plug the number entered into a url. The number is a
parameter that the url needs to run.

example:
enter number:
<input type="text" name="num" size="5"> <a
href="http://TheUrlHere&num">

Is there a way to do this?
Thank-you,
LDM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top