OK, well how about trying a single =, == is a test not an assignment -----Original Message----- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 11:49 AM To: CF-Talk Subject: RE: Flash form binding using cfinput type="image"
Thanks for the suggestion. Test.value == 'myvalue' results in an error saying... 1 Error found. Error /cti-stlcom/inde.mxml:331 There is no property with the name 'value'. It seems that CF/Flex/whatever doesn't provide a 'value' property for TextInputs. -----Original Message----- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 10:00 AM To: CF-Talk Subject: RE: Flash form binding using cfinput type="image" Not sure about cfinput, but for regular type="text" it should be .value, not ....text -----Original Message----- From: Rob Parkhill [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 10:34 AM To: CF-Talk Subject: Re: Flash form binding using cfinput type="image" > ><cfinput type="text" name="test" width="200" label="test:"> > > > ><cfinput type="image" name="image1" width="65" height="65" >onClick="{test.text == 'myvalue'}"> > Jason, You have to change the onClick to the following. <cfinput type="image" name="image1" width="65" height="65" onClick="{document.formname.test.text = 'myvalue'}"> That will update it momentarily (you'll see it flash) and then it goes back to being blank. I am sure someone else will be able to help with the rest, but that is the change required to the JS call. Rob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294384 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

