John, Short and sweet, I like that. This is one I will save in my snippets. Zelda
-----Original Message----- From: John Eubanks [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 12:20 PM To: CF-Newbie Subject: Re: Select Box 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? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2700 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
