OTTOMH, What about two select boxes, one containing a list of fields, and one containing operators.
Use the onChange event to fire off some Javascript to concatenate each building block to the current equation. Then have the javascript put the updated equation to a textarea or something like that. Behind the scenes you can track the IDs in a variable and put it in a database when the user is done (maybe a button to click). Does that sound like what you are looking for? Kathryn Butterly Web Developer Washington Mutual Finance 813 632-4490 [EMAIL PROTECTED] -----Original Message----- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 1:26 PM To: CF-Talk Subject: Visual Equation Building Hey All, OK I'll do my bets to explain what I'm trying to accomplish: I want to build a tool that allows the user to visually build an equation. The building blocks for the equation are essentially fields in a database. I'd like to display these "building blocks" in a list and give the user the ability to pass them into a workspace on the page that will hold the equation. Ideally I'd like to allow the user to drag and drop the "building blocks" into the workspace, but I suppose passing them via a link and some JavaScript would suffice. I also need to give the user a way of passing operators (+,-,*,/,[,]) to the workspace to help build the equation. Another hook is that I need to ultimately store the IDs of the records of the building blocks when I store the finished equation. I have some ideas, but I thought before I head down those paths, I'd see if anyone else had any input. Thanks in advance for any comments/help/hysterical laughter ;-) Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

