Adrian,
Got what I was looking for:
onchange="this.form.STS.value = this.options[this.selectedIndex].value*545;"
in the <cfselect> tag.
John
>With JavaScript or CF?
>
>JS
>
>yourSelect = document.getElementById("yourSelect");
>yourTextfield = document.getElementById("yourTextfield");
>
>yourTextfield.value = yourSelect.options[yourSelect.selectedIndex].value;
>
>CF
>
><input type="text" value="#FORM.yourSelect#" />
>
>If neither of those, can you be more specific.
>
>Adrian
>
>-----Original Message-----
>From: John Eubanks [mailto:[EMAIL PROTECTED]
>Sent: 12 April 2007 15:40
>To: CF-Newbie
>Subject: Select Box
>
>
>Anybody know of a way to populate a text box based off the selection from a
>select box?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7.
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2699
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15