WPForms Blog

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Allow Users to Select Recipients in a WordPress Contact Form

by Shahzad Saeed on Sep 7, 2017

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

The first thing you need to do is to install and activate WPForms on your site. If you need help on this step, you can learn how to install a WordPress plugin.

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.

mark the multiple recipients dropdown as required

Next, you need to enable the conditional logic option for your notifications. To do this, navigate to Settings » Notifications. Then select Enable conditional logic.

enable conditional logic notifications for wordpress contact form select recipient

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 sales@yoursite.com or billing@yoursite.com depending on the conditional logic.

click add new notifications for conditional recipients

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.

That’s it!

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.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.