Hi, I need to add three additional conditions to the below ASP C# statement and am unsure of syntax to do this. The below statement works fine:
If landingQ1 = "home", go to home.aspx. If anything else, go to church.aspx
SuccessURL='<%# ( Request.Form["landingQ1"] ==
"home" ? "home.aspx" : "church.aspx" ) + "?rurlID="
+ Session["XMPRecipientID"] %>'
What I need to have, is:
If landingQ1 = "home", go to home.aspx
If landingQ1 = "church", go to church.aspx
If landingQ1 = "school", go to school.aspx
If landing Q1 = "PerformanceHall", go to performancehall.aspx
If anything else, goto sorrypage.html
I am not familiar with this syntax and am not sure what to Google to find information about this syntax. Any advise would be great. Thanks!