scrads
08-31-2006, 08:40 PM
Hi i'm a semi novice and am currently in the process of building a new site, i have a problem where customers would put their ref numbers in and then it would link to their relevant page, this is the code i have so far:
<form action="" method="get" enctype="multipart/form-data" name="formCustom" target="_self">
<input name="CustomerRef" type="text" value="Customer Ref" size="12" maxlength="12">
<input type="submit" value="Submit">
</form>
this is what is returned when data is entered
http://www.scradspace.co.uk/ladies.htm?CustomerRef=12356 the bit in bold is what is generated by the form.
now i want whats put in the text box to appear in the address bar and link to the relevant page, something along the lines of .../CustomerRef=12356.htm. how do i do this?
<form action="" method="get" enctype="multipart/form-data" name="formCustom" target="_self">
<input name="CustomerRef" type="text" value="Customer Ref" size="12" maxlength="12">
<input type="submit" value="Submit">
</form>
this is what is returned when data is entered
http://www.scradspace.co.uk/ladies.htm?CustomerRef=12356 the bit in bold is what is generated by the form.
now i want whats put in the text box to appear in the address bar and link to the relevant page, something along the lines of .../CustomerRef=12356.htm. how do i do this?