what is the problem with this piece of code:

i want to navigate to diff forms depending on value in listbox.

<cfform name="main_menu1" method="POST">

<cfselect name="select" size=1 multiple="No">
<option value="0" selected>none
<option value ="2">employee
<option value="3">customer
</cfselect>

<cfif "form.select" is "2">
<cflocation url="employee.cfm">
<cfelseif "form.select" is "3">
<cflocation url="customer.cfm">
</cfif>

</cfform>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to