I have built a family tree website (http://www.didymus.org.uk) and so far visitors can only access one of my ancestor's details by selecting them from two drop-down menus (one for surname and one for forename).
The structure of the site gives each of my ancestors a unique reference number (URN) based on the alphabetical position of their initials. Each ancestor has their own page which is named (URN).htm, for example my great grandfather's URN is 538 and the URL for his page is 538.htm
What I WANT to do is add a text box in a form. When a visitor types a URN in to the text box and presses a "Go" button, the form simply sends them to the relevant page.
For example, if I were to type 538 in to the box and click GO the form directs my browser to 538.htm
Can anybody help with how to achieve this and ALSO (if it's not too much trouble) come up with a way to have the form return an error page if a URN is incorrectly entered or doesn't exist?
Your help would be GREATLY appreciated.
Kindest regards.
KD.