Do you want to allow users to decide who receives the email notification from your WordPress forms? With WPForms, you can allow your users to select which person or department the notification gets sent to. In this article, we’ll show you how to create a WordPress contact form with multiple recipients dropdown, with conditional recipients based on the user’s choice.
Email Notifications With Conditional Recipients
With WPForms, you can allow your users to choose which person or department the email notification gets sent to. With our smart conditional logic, you can send emails based on the dropdown field easily.
The main benefit of this feature is that you can create a multipurpose form on your site. For example, you don’t have to create separate forms in your contact page specifically to each department in your organization, like sales, developers, support, etc. Instead, just create a single form and allow users to select which department the email notification gets sent to using a dropdown field.
Now let’s take a look at how to set up a WordPress form and allow users to send email notifications to different departments or people in your organization.
Create a WordPress Form
Then you’ll have to create a WordPress form. To get started, you can learn how to create a simple contact form on your site.
Make sure to add a dropdown field where your users can select which department the form submissions get sent to.
Also, make sure the field is marked Required so the user doesn’t forget to provide an answer.
Next, you need to enable the conditional logic option for your notifications. To do this, navigate to Settings » Notifications. Then select Enable conditional logic.
Choose to send a notification for the correct field. Make sure the correct email address is entered in the Send To Email Address field above.
You can set up a separate conditional notification for each separate person or group (Sales, Support, and Billing in our example) by clicking the Add New Notification button at the top right-hand side. Then you can insert a different email address from the first notification, such as email@example.com or firstname.lastname@example.org depending on the conditional logic.
Keep in mind that in every new notification you add, you need to enable the conditional logic option and specify the correct field from your dropdown menu.
You’ve just created conditional logic notifications in your WordPress forms.
If you enjoyed this article, you might also want to read how to send confirmation emails to your users when they submit a form.
What are you waiting for? Get started with the most powerful WordPress forms plugin today.