Survey Forms

Options

Quick question... I have a survey form that collects the visitors info in order for us to answer question they may have about our site which lives on our contact us section of the website. Now the fields that are included on this form are:

First Name: Input field

Last Name: Input field

Email Address: Input field

Topic: <-- Which is a Drop Down List

Question: <-- Text field

Now my question is how can I have the form once submitted and a topic chosen have it open your default email program and have a subject line populated depending on what topic was chosen. That way on the person on the receiving end of the submission can sort the email accordingly and answer the question with a better understanding of whats needed.

Tagged:

Comments

  • I don't think this gives you all the information you need but it might help:

    You can use an anchor tag to link to an email address like this:

    &lt;a href="mailto:matt@matt.com?subject=This is the subject line"&gt;Click here to send an email to Matt&lt;/a&gt;

    You may be able to experiment with using a redirect to a similar url to prompt the user's default email client to open. I would caution against this though since some email clients may not understand the syntax.

    I don't think this addresses your part of the question about populating the subject of the email based on the response of the survey. You may have to experiment with mapping the responses to a constituent 360 field and then using an STag to populate the subject string?

Categories