My apologies. I did not follow all the links on that page. The second link is not what it appears to be. I had no idea. ----- Original Message ----- From: "charlie griefer" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 12:32 PM Subject: Re: need tag for dropdown and input
> Valerie L. Criswell writes: > > > I know I've seen it somewhere on my journeys. > > > > It's the tag that displays both a dropdown (populated from a query) as well > > as an accompanying text input so that the if the needed value isn't listed > > in the dropdown, the user can enter it into the text box. But only one > > variable for the value is sent. > > > > Anyone know where I can pick this up? > > > > I'm not sure what to search for on the DevX. I sure wish they would make a > > more powerful and relevant search tool. > > Not really something that i would expect to find in the DevX, regardless of > how powerful the search tool is. > > Just do a normal <select>, as well as a text input as you described. On the > form's action page, just run a condition to see if the text input is blank. > If it is, use the value from the <select>. If not, use the text input > value. > > Some js on the form to prevent both a select value and a text input value > would be nice too. If you need that, lemme know and i'll throw something > together. > > charlie > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm