View Full Version : need help with forms and buttons (i think)


Prawn_king
02-12-2004, 07:42 PM
erm... can anyone help me?
my idea is that you have a text box that a website visitor typs in the end of a website address, the rest (first bit) is hidden in the website code, and when they press the submit button, it adds the two together and takes you to that website.

[t e x t b o x]->[b u t t o n]

does anyone know what i mean, and is it possible?

bejayel
02-13-2004, 05:45 AM
ok so let me ask you what you are asking here...

you want a form where the part of the web address "http://www." is hidden in the form correct? then they type whatever they want.com and it will put the two together in the address bar. while this si pointless because most of the time you to not need http:// or www. because it is put in by itself most of the time anyway, you need a javascript that will let a for point ot eh address bar. which will be hard to find. happy hunting. well i guess ther is another way, but it would require some get/post/read type of language. (php, perl, asp etc...) and you could have the form point to a new page with a meta httprefresh thingy. thats the only other way i can think of it working.