So I have a form I am working on, and right now we have it set up so that if a specific field (city) is not filled out it just prints a error with a javascript popup thingy.
Well we want to change it so that if that field is not there instead of printing a warning it goes onto the next page and a perl script catches the exception and prints out a list of cities. We are doing this to make is less reliant on Javascript.
My plan is to make it so
(1) The Javascript no longer checks that box. (easy)
(2) Change the action to a script that does nothing but check for this exception. (easy)
(3) Have that script print a form with list of cities. (easy)
(4) =( If the city is defined, forward all post data to the next script. (hard?)
Here is a somewhat pseudocode version of the program. Just need me forward function heh.