• Resolved k_shah_in

    (@k_shah_in)


    My client has a site for clinic. I have used Fast Secure Contact Form on the Enquiry page and the form is sending the data to an email mentioned in the “Email To” section in Email Settings.

    The form asks the user to select a “Preferred Clinic” using a selectbox. The client now want the form to send the data to an email address related to the selected clinic. e.g. If the user selects “Clinic1” the data should go to let’s say “<emailaddressforclinic1>@abc.com”. If the user selects “Clinic2” the data should go to let’s say “<emailaddressforclinic2>@abc.com”.

    Is there a way I can achieve this?

    Thanks in advance.

    https://wordpress.org/plugins/si-contact-form/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, you know you can add more than one e-mail address under E-mail To:

    Thread Starter k_shah_in

    (@k_shah_in)

    Thanks for your prompt response.

    Actually I want to set “Email To”, dynamically depending on the user selection of preferred clinic. like it should either go to <emailaddressforclinic1>@abc.com or <emailaddressforclinic2>@abc.com based on clinic selected by the user and not to both email addresses.

    Hi, you could use the following example in the Email To field? This would create a drop down menu for the person to select a clinic and the e-mail sent to that clinic.

    Clinic1,emailaddressforclinic1>@abc.com
    Clinic2,emailaddressforclinic2>@abc.com
    Clinic3,emailaddressforclinic2>@abc.com

    As far as I know the above scenario is the best option currently available in this plugin to do what you want to achieve. If you choose your option selectbox you would have to write some javascript code to submit to a different e-mail depending on the clinic is selected.

    Thread Starter k_shah_in

    (@k_shah_in)

    This is exactly what I wanted.

    Thanks a lot.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to send data to an email selected by the user in a Form field?’ is closed to new replies.