Form notification based on form submission

It seems that the CM1 Form Widget can only notify one set of people by email on form submission.

Say I have a complaint form with a set of radio buttons for the complaint category. If the complaint is about HR, the user selects the “HR” radio button, and the director of HR (and no one else) is notified by email when the form is submitted. If the complaint is about IT, the user selects the “IT” radio button, and the director of IT is notified.

Is there any way to do this in CM1? It seems to be pretty simple, but I don’t see any settings for it. Thanks!

Hi Joseph, 

That is a great question. Unfortunately, CM1’s native email notification system doesn’t allow that dynamic configuration of email notifications. However, the easiest way to accomplish this would be to use the form option under " Meta-Data > Save Form Data" to send the data to a URL

This way you can create a script with PHP or .NET or another language to receive that data and you can setup a conditional “IF” or “SWITCH” statement block to check the incoming data for the department that the form is tagged to and the script can generate the email to the proper users. 

Let us know how that works out for you!