As far as populating data on a form from a query, CF 8 has some built in ajax functionality you may want to look at. If you can't use version 8 it's still ajax but done the hard way.
If there is not that much data you can load all of the data into a javascript array at the initial page load then just use some javascript to change the appropriate values without querying the server a second time. On Mar 12, 2008, at 4:52 PM, Bob Imperial wrote: > Hi folks, > > Trudging the road of happy destiny here with a request that was > presented to me today for something that I'm not quite sure about > how to go about coding for. I have a request to auto populate two > fields with it's related pager number and email address. I'm not > sure how go about doing this and need some direction as to firstly, > correctly implement my query within a function call, secondly to > send that data back to the form without reloading the page. Does > this make sense? Is this something that can be done without a great > deal of trouble? TIA > > Bob > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3428 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
