Re-direct Form based on CFSelect Selection
Hi,
I'm new to CF, so apollogies if this is a stupid question. It seems like it should be easy, but I can't seem to get it working.
I have a form with a <cfselect> in it. When the form is submitted, I want to re-direct to another page. The page will differ depending on the user's selection in the <cfselect>. I can't seem to pass the user's selection into the form's action method.
Here's some code example which might help illustrate what I mean:
<cfform action="??WhatGoesHere??" method="post" name="frmSelectName" target="_blank">
<cfselect id="selectNamet" name="selectNamet">
<option value="0">John</option>
<option value="1">Paul</option>
</cfselect>
<input type="submit" name="Submit" value="Submit">
</cfform>
Any help would be great!
Thanks!
