I'm building a form that will allow the user to click on an image
(cfinput type="image") to select it. When they click on it, I want a
value inserted into a text cfinput. Here is an example of what I'm
trying to do... but it's not working. I can't find documentation to tell
me if I can/can't do this.
<cfinput type="text" name="test" width="200" label="test:">
<cfinput type="image" name="image1" width="65" height="65"
onClick="{test.text == 'myvalue'}">
The form compiles fine but when I click on 'image1', I get nothing. If I
change it to ...onClick="alert('foo')".... I get an alert box when I
click 'image1'.
Thanks!
Jason
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294378
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4