PDA

View Full Version : Email notice and submit data with CF



dodiehall
01-23-2004, 03:45 PM
I've developed a Work Order System using Cold Fusion where the users fill in a form with data or select info using the drop-down menus and when they submit, the data is collected in a database. I would also like to notify the Work Order System admin that a new WO has been entered into the system. Can CF forms have two actions -- one to process the data and another to notify the admin via email that it's been submitted?

fmtroute
02-02-2004, 12:48 PM
You can do that with CF. Basically, when you submit the form the target is another page where you update the database. Once the database is updated you simply use CFMail to send the notification. It is pretty straight forward. I do something similar on one of my sites.