Site icon Hip-Hop Website Design and Development

How to create a form where you can select multiple recipients, based on a list of website users?

First of all, I’m not a professional developer but I do have basic programming knowledge and experience. I apologize in case someone pulls their hairs at my low knowledge about wordpress development.

This is the use case I wish to achieve:

  1. A user comes to my website and enters a contact form.
  2. In the form the user can select a specific value, for example COUNTRY.
  3. The COUNTRY value is also a value assigned to users registered on the website.
  4. Finally the user sends his e-mail at the end of the form. Based on the selected country, I want the email to be sent to all Users with this tag.

How would I go about doing this?