Since you have a default selected you must check the values:


   <!--- Assumed: onlu 1 menu can change --->

   <CFSET MenuStatus = "">
   <CFIF IsDefined("Form.Menu1")>
      <CFIF Form.Menu1 NEQ "Menu1_DefaultValue">
         <CFSET MenuStatus = "Menu 1 has Changed">
      </CFIF>
   </CFIF>

HTH

Dick

At 6:36 PM -0400 7/28/00, Paige Chandler wrote:
>Hello Dick,
>
>Thank you very much. That works great.
>
>I have 5 dropdowns on a single page. I'm trying to determine now which one
>an item was selected from. CFIF ISDefined ("Area_Name") does not work
>because it contains the default - first item in the table. As do the names
>of each of the dropdowns.
>
>Is the best way to determine which was accessed is to have a "Default" value
>as the first Item in the table (dynamic) that feeds the dropdown?
>Like "NONE" or blank or something?
>
>----- Original Message -----
>From: "Dick Applebaum" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, July 28, 2000 4:45 PM
>Subject: Re: Passing Results of DorpDown List Box
>
>
>>  Your <SELECT> is named "Area_Name"...
>>
>>  its value is in #Area_Name#
>>
>>
>>
>>
>>  At 4:16 PM -0400 7/28/00, Paige Chandler wrote:
>>  >This is a multi-part message in MIME format.
>>  >
>>  >------=_NextPart_000_0009_01BFF8AF.22497D30
>>  >Content-Type: text/plain;
>>  > charset="iso-8859-1"
>>  >Content-Transfer-Encoding: quoted-printable
>>  >
>>  >Hi All,=20
>>  >
>>  >I'm trying to capture the selected item from a dropdown list box. My =
>>  >first attempt to do this. The book says it "passes the "Value" as in:=20
>>  >
>>  ><CFForm Name=3D"Form1" ACTION=3DForm2.cfm"
>>  >
>>  ><CFQuery Name=3D"Get_Area"
>>  >
>>  >.etc - works OK.
>>  >
>>  >
>>  >
>>  ><CFSelect Name=3D"Area_Name"=20
>>  >
>>  >Query=3D"Get_Area"=20
>>  >
>>  >Value=3D"Name"=20
>>  >
>>  >...etc.=20
>>  >
>>  ></CFSelect>
>>  >
>>  >When I get to Form2 I can't reference #Name#.=20
>>  >
>>  ><CFOutPut Get_Area> or CFOutPut "Area_Name"
>>  >
>>  >#Name# is not resolved.  Help is appreciated.
>>  >
>>  >Regards,
>>  >
>>  >
>>  >
>>  >Paige
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >------=_NextPart_000_0009_01BFF8AF.22497D30
>>  >Content-Type: text/html;
>>  > charset="iso-8859-1"
>>  >Content-Transfer-Encoding: quoted-printable
>>  >
>>  ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>>  ><HTML><HEAD>
>>  ><META http-equiv=3DContent-Type content=3D"text/html; =
>>  >charset=3Diso-8859-1">
>>  ><META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
>>  ><STYLE></STYLE>
>>  ></HEAD>
>>  ><BODY bgColor=3D#ffffff>
>>  ><DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>
>>  ><P>Hi All,</FONT><FONT face=3D"Times New Roman"><FONT size=3D3>=20
>>  ></FONT></P></FONT><FONT face=3DArial size=3D2>
>>  ><P>I'm trying to capture the selected item from a dropdown list box. My =
>>  >first=20
>>  >attempt to do this. The book says it "passes the "Value" as =
>>  >in:</FONT><FONT=20
>>  >face=3D"Times New Roman"><FONT size=3D3> </FONT></P></FONT><FONT =
>>  >face=3DArial size=3D2>
>>  ><P>&lt;CFForm Name=3D"Form1" ACTION=3DForm2.cfm"</P>
>>  ><P>&lt;CFQuery Name=3D"Get_Area"</P>
>>  ><P>.etc - works OK.</P>
>>  ><P>&nbsp;</P>
>>  ><P>&lt;CFSelect Name=3D"Area_Name"</FONT><FONT face=3D"Times New =
>  > >Roman"><FONT=20
>  > >size=3D3> </FONT></FONT></P>
>  > ><P><FONT face=3DArial size=3D2>Query=3D"Get_Area"</FONT><FONT=20
>  > >face=3D"Times New Roman"><FONT size=3D3> </FONT></P></FONT><FONT =
>  > >face=3DArial size=3D2>
>>  ><P>Value=3D"Name"</FONT><FONT face=3D"Times New Roman"><FONT size=3D3>=20
>>  ></FONT></P></FONT><FONT face=3DArial size=3D2>
>>  ><P>....etc.</FONT><FONT face=3D"Times New Roman"><FONT size=3D3>=20
>>  ></FONT></P></FONT><FONT face=3DArial size=3D2>
>>  ><P>&lt;/CFSelect&gt;</P>
>>  ><P>When I get to Form2 I can't reference #Name#. </P>
>>  ><P>&lt;CFOutPut Get_Area&gt; or CFOutPut "Area_Name"</P>
>>  ><P>#Name# is not resolved.&nbsp; Help is appreciated.</P>
>>  ><P>Regards,</P>
>>  ><P>&nbsp;</P>
>>  ><P>Paige</P>
>>  ><P>&nbsp;</P>
>>  ><P>&nbsp;</P>
>>  ><P>&nbsp;</P>
>>  ><P>&nbsp;</P>
>>  ><P>&nbsp;</P>
>>  ><P>&nbsp;</P></FONT></FONT></DIV></BODY></HTML>
>  > >
>>  >------=_NextPart_000_0009_01BFF8AF.22497D30--
>>  >
>>
>>---------------------------------------------------------------------------
>---
>>  >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>>  >To Unsubscribe visit
>>  >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal
>>  >k or send a message to [EMAIL PROTECTED] with
>>  >'unsubscribe' in the body.
>>
>>  --------------------------------------------------------------------------
>----
>>  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>>  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.
>
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_tal 
>k or send a message to [EMAIL PROTECTED] with 
>'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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