Thread: input to link to htm page
Results 1 to 5 of 5
HTML input question, how do I add an input field to a single URL? Forum: HTML ForumReplies: 15
get input onchange into link Forum: CGI Perl ForumReplies: 2
Form input link Forum: HTML ForumReplies: 9
10-12-2002, 03:40 PM #1
input to link to htm page
I am trying to find a script that allows a user to enter 7 numbers into a form or input box and after they hit the keyboard key 'enter' they are taken to a htm page. The script would add the extension '.htm' to their input. Example: they enter 7575756 and hit enter, then a new frame or page opens the page 7575756.htm If the page doesn't exist, it would then go to a alternative page. Anyone have any idea's, Thank You
10-12-2002, 04:41 PM #2
i know it involves either PHP or ASP, but i ain't sure. in fact, i'm not a PHP or ASP specialist anyways...u can try searching in http://www.hotscripts.com for a script like that. or maybe someone here cud help u
10-12-2002, 07:19 PM #3
Make a popup using the popup maker over on the left.
Then add a second variable to the popup() function called 'page'.
When you call the function, send the vriable 'this'. So when the form is submitted, it calls the popup function, kinda like -
<form method="post" onSubmit="popup(this)">
I may not have made this very clear its 1am here, I have been watching Red Dwarf for th last four hours, and drinking Gin. So I am a bit dizzy..If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
10-12-2002, 09:39 PM #4
I'll give it a go, Thank You
I'll give it a go and let you know, Thank You!
10-13-2002, 01:58 AM #5