Re^2: onSubmit Redirectby hok_si_la (Curate)
|on Feb 04, 2005 at 19:49 UTC||Need Help??|
First of all I thank both of you for your responses. Sorry I am just now responding. I was at lunch.
That worked out fine. The problem is that I now want the user to be redirected to a script (getlist) that lists all of the updated information. This script uses a tab function that I wrote which is why it needs cgi passed to it that would make any of Tolkien's works look like Cliff Notes.
I have considerred three methods of doing this.
1)Just use the code above but figure a way of going back 2 listings in the browser history.
2)Pass all of the necessary variables (those in $action) to changestatus.pl and make the changes to the function above.
3)Run a script while redirecting to the complicated URL I gave earlier. (Hardcoded equivelent to a history.go(-2)).This would be done using print redirect or something similar when the submit button is clicked.
I hope that clarifies the situation. Essentially it would be best if I could figure out a way to accomplish method 3, but if not, I can find a workaround using one of the first two ideas.