The scenario is, I have a form that you order multiple types of stationery. Depending on what items are ordered determines, what email needs to be sent the form results.

The issue I am running into is I need a way to prevent emails from being sent to the other print vendors if their fields are left blank.

Right now they all receive every email it just shows up blank because I have it set to exclude blank fields.

Any guidance would be greatly appreciated!

You may want to try out the Rules module. It allows a lot of powerful conditions and actions to be configured. You may also pair it with the Webform Rules module to connect it to your Webforms (https://www.drupal.org/project/webform_rules).

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.