I am having trouble using the redirect function of the Form Mail cgi.
If i set the value of the hidden form element "redirect" manually in the HTML eg. value="http://mysite.com" then everything works fine.
i use an onclick event on a radio button to set the value to my desired URL.
debugging proves that the variable gets set properly but somehow the CGI does not recognize the new value OR the default value once it has been changed. The result after form submission is the same as if no redirection was used and i get a formail report page.
Is there something i am doing wrong?