• Hello. I added a drop down menu where the user can choose their subject before they type their message in the message box below. This is the code I inserted in the Forms box of my Contact 7 form I created:

    <label>Name*</label>
    [text* your-name]

    <label>Phone Number</label>
    [tel tel-756]

    <label>Email*</label>
    [email* your-email]

    What Can We Help You With?

    <label></label>

    [select dropdownmenu “– Select a subject –” “Orders” “Returns” “Cancel/Edit Order” “Feedback” “Other”]

    <label>Your Message*</label>
    [textarea your-message]

    [submit class:button primary “Send Message”]

    *Indicates required field

    As you can see, the user can select one of the following subjects: Orders, Returns, Cancel/Edit Order, Feedback, Other

    I tested the form and noticed that when I receive the email, I get [your-subject] for the Subject instead of the subject category I chose from the dropdown menu on my form (I chose the subject “Returns” when I was filling out my form).

    Is there any way to fix this so that when the user chooses their subject, the recipient of the email (which would be me) sees the Subject of the email as one of the subjects from the dropdown menu?

    Here are screenshots:

    https://pasteboard.co/IF9R94k.png

    https://pasteboard.co/IF9RpPp.png

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to add a corresponding CF7 Mail tag in the Mail tab for each field you want to use from the Form tab.

    Thread Starter Filmguy2013

    (@filmguy2013)

    Thanks. Can you please tell me what the mail tag should be and where exactly in the code I need to paste it (the code I showed you in my last message)?

    I tried adding the mail tag “your-subject” (without the quotation marks) like this:

    [select dropdownmenu “– Select a subject –” your-subject “Orders” “Returns” “Cancel/Edit Order” “Feedback” “Other”]

    But all that did was remove the dropdown menu on my form.

    Form Tab

    [select dropdownmenu “– Select a subject –” “Orders” “Returns” “Cancel/Edit Order” “Feedback” “Other”]

    Mail Tab

    Subject Field: [dropdownmenu]

    DOCUMENTATION INSTRUCTIONS:

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