>> I was curious if there is anyway to have a listener of >> sorts via coldfusion. I basically want a dynamic form >> of mine to verify each field against the server as the >> user submits the data. I see this done a lot with applets >>and with oracle but I haven't seen anything like this >> with Coldfusion? Is it possible...if so have an example I >> can look at?
>By itself, ColdFusion can't do this. CF doesn't "listen", it simply handles >requests sent to it by the web server. However, you can build something with >the same effect by using JavaScript and DHTML or frames on the client; every >time a user changes a field, you'd have to submit an HTTP request back to >the server, wait for the response, then process that response. Dan Switzer has written an JSAPI for this. It works great. http://www.oacfug.org/users/dswitzer/clientserverdemo/ Dave =============================== David R Hannum Ohio University Web Analyst/Programmer (740) 597-2524 [EMAIL PROTECTED] "If your wife is having fun and you're not, you're still having a lot more fun than if you're having fun and she's not!' - Red Green ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists