Jeff,

I have been trying, with no success, to get the
cf_twoselectsrelated tag to work....can I take a look
at your javascript code and see if that will better do
the trick....thanks again!!!!


--- "Garza, Jeff" <[EMAIL PROTECTED]> wrote:
> I don't think CF is what you want to use here...
> Since it is run server
> side, what you are attempting to do would require a
> round trip to the
> server.
> Try checking out the TwoSelectsRelated tag at the
> Allaire Developers
> Exchange.  This should do what you want.
> 
> Alternately you can roll your own using javascript. 
> I think I have a script
> from one of my sites that I can send to you if you'd
> like.
> 
> Jeff Garza
> Lead Developer/Webmaster
> Spectrum Astro, Inc.
> [EMAIL PROTECTED]
> http://www.spectrumastro.com
> 
> 
> 
> -----Original Message-----
> From: Amanda Stern [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, January 03, 2002 12:25 PM
> To: CF-Talk
> Subject: Simple FORM Variable ERROR?????
> 
> 
> Hello,
> 
> I am trying to create a simple form that depending
> on
> which item is selected in one dropdown will
> determine
> the contents of the next dropdown field....it doesnt
> to recognize my form variable though....
> 
> here is my code:
> 
> 
>     <td width="300">
>       *Outreach Method:<br>
>        <select name="OutreachMethod1">
>            <option value="">--Select One--</option>
>            <option value="1">Telephone</option>
>            <option value="2">Home Visit</option>
>        </select> 
>     </td>
> 
>    <cfoutput>
>     <input type="hidden" 
>          name="method1" 
>          value="Form.OutreachMethod1">
>    </cfoutput> 
> 
> 
> <cfoutput>
>  <cfif  #form.method1# IS "1">
>  </cfoutput>
> 
> 
> So depending on which value from the OutreachMethod1
> drop down they choose will determine the cfif code
> that follows...but it doesnt recognize
> #form.method1#
> ..do I need to have 2 forms and submit the first
> part?
> 
> TIA
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> 
>

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to