Your onChange function operates clientside after coldfusion is done with the
page. You can't set a coldfusion variable because cf is not in the picture
at this point.

----- Original Message -----
From: "Larry Juncker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 12:26 PM
Subject: Form Field OnChange Problem with Cf


> I have a form that the action for it goes to sendmail.exe
>
> I have an onChange function written that checks the value of
> document.formName.Full_Name.value
>
> If I set an to say ("Full Name =" + FullName);
>
> I get the alert telling me that the field has changed.
>
> What I would like to do is set a Cold Fusion variable on this change, but
I
> keep getting errors.
>
> I have tried:
>  document.write("<CFSET FullName = " + FullName + ">")
> however, when I try and run the template again, I get locked up.
>
> I need to know what this variable has been changed to so that I can send
it
> with my returnurl variable such as this:
>
>
http://www.mydomain.com/prtDsp.cfm?Machine_No=#Machine_No#&FullName=#FullNam
> e#
>
> Everything is working except my FullName variable
>
> Can someone tell me if this is possible.
>
> Larry Juncker
> Senior Cold Fusion Developer
> Heartland Communications Group, Inc.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to