Hi guys
I have a subdomain with 79 individual episode pages, and I'd like to create a Go! button that allows the user to enter which number page of the group they would like to load, and send them to a different page if the number entered is outside the acceptable range of 01 to 79. This would save 79 links in the site map by replacing all with one link.
For example, each page is ep01.html, ep02.html through ep79.html. So ideally I'd have a 2-character text input field pre-populated with "01" followed by a Go! button. If the user enters 27 and pushes "Go!" they load ep27.html. However, if the user enters, say, 81, they load episodes.html because the entry is outside the range of pages I have available to choose from.
Here's the full URL of page one:
http://series.airwolf.tv/episodes/ep01.html
and the fallback page:
http://series.airwolf.tv/episodes/index.html
I tried experimenting with forms and even JavaScript, but I can't seem to marry the input field result with the href. Any ideas?