I know it sounds odd lol XD Thanks for the info.... Basically what I am trying to do is have a place where a user can enter their membership number into a text field, hit submit and they will be forwarded to their profile.
Is there any way that the first part of the URL can be hidden so they just have to put the username in the box....
If the file format is a known static value (like .html) then after the this.user.value part put a plus sign and then the extension with single quotes around it.
<form action="#" onsubmit="window.location='http://www.yourdomain.co.uk/user/'+this.user.value+'.fileformat';return false;">
<input type="text" name="user">
<input type="submit" value="Go">
*You might need to scroll the code text box to see the changes highlighted in blue.