Using 2 diff response page to load based on form object selection
Posted on 2002-07-03
Currently my perl script goes to one response/return page after the user submits the form data input. The path to the page is coded as $html_path="/usr/local/myserverhtml/response.html
Within the form's html form object are two radio buttons
<input type="radio" value="yes" name="helpneeded">
<input type="radio" value="no" name="helpneeded">
What I'm trying to accomplish is to have the user get a return page that corresponds with whichever of the radio button he selected on the form, e.g., if user selects "NO" for "helpneeded" then he gets to the helpneeded.html page after he submits the form results.
Can anyone help me with this please?