
November 24th, 2005, 05:52 PM
|
 |
The Drunken Moderator
|
|
Join Date: Feb 2004
Location: Reston, VA, USA
|
|
Quote: | Originally Posted by luke.wallwin I'm trying to construct a submission script in asp.
The form has a drop down menu with four options. What I'm trying to do is redirect to a different thankyou page for each option when the form is submitted.
Any help is greatly appreciated. |
use post method and submit to a processing page. On that page, use simple if then statments, combined with response.redirect to send user to appropriate page. Example:
You have this option in your drop down: thankyou1
and the field name is: sendthis
On the processing page:
asp Code:
Original
- asp Code |
|
|
|
<% Dim thanks thanks = request.querystring("sendthis") if thanks = "thankyou1" then response.redirect "thankyou1.asp" else if thanks = "thankyou1" then response.redirect "thankyou2.asp" end if
and so on and so on....
hope this helps!
|