Text box link

J

Joe

I would like to have a text box on my page that when
someone enters in a code and clicks submit; a specific
page that I made for them pops up.

Example: Person A visits my website and enters in code
AAAA1234 and clicks submit. Then a page /AAAA1234.htm
pops up which I made for them in advance with information
tailored to them.

How do I make this box and link it to the page I have
already created?

I would like to do this for other codes and people in the
future.
Thanks,
Joe
 
J

Jim Buyens

-----Original Message-----
I would like to have a text box on my page that when
someone enters in a code and clicks submit; a specific
page that I made for them pops up.

Example: Person A visits my website and enters in code
AAAA1234 and clicks submit. Then a page /AAAA1234.htm
pops up which I made for them in advance with information
tailored to them.

How do I make this box and link it to the page I have
already created?

I would like to do this for other codes and people in the
future.

Switch to HTML view and add this code to your page.

<form >
<input type="text" name="T1" size="20">
<input type="button" value="Button" name="B1"
onclick="document.location.href = T1.value + '.htm'">
</form>

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 

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