• Is there any functionality/plugin that you know of that can determine the recipient of the email/form based on a user? So, if logged-in User-A submits the form, then Recipient-A will receive it?

    Just curious if you know of anything, or if you have a hook/filter that could accomplish this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @nrtdesign,

    Yes, you can set up conditional notifications based on input in the field.

    To do what you’ve described, you can set up a hidden field with one of the user Smart Tags as the default value. The Smart Tag will then pull the corresponding user information into the field when submitted.

    You can then set up conditional logic in the notifications to send emails to specific recipients based on input in that field.

    Conditional logic and the hidden field are features available with any of our paid licenses.

    Hope this helps!

    Thread Starter nrtdesign

    (@nrtdesign)

    Thanks for the response.

    Just so I’m clear on what you’re saying – would I enter a value in some custom field for the user (Settings -> Users), and then the form will detect that value/field, and then perform a conditional check that will determine the email recipient?

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @nrtdesign,

    I apologize for the confusion!

    In WPForms we have Smart Tags such as {user_email} or {user_id}, that can pull details from the WordPress database.

    This Smart Tag can be used as a default value for a hidden field, which will not be visible for the user.

    In the notification settings, you can configure notification to be sent out conditionally based on the values in the hidden field.

    I hope this helps!

    If you have more pre-sale questions, please feel free to contact our team.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional Recipient Email’ is closed to new replies.