• Resolved psteiner29

    (@psteiner29)


    Hello!

    1) Thank you for your plugin. It worked without trouble until recently.
    2) Not sure what changed. No plugins were added or themes changed. Updated WordPress only recently after the problem occurred.

    I cannot get the selected conditional fields selected to show in the forwarding email from WordPress. Here are the Mail Fields:

    [_date] [_time]
    [radio-432]
    [group-patient-phone]
    PATIENT INFORMATION
    Patient Name: [your-name]
    Patient Email: [your-email]
    Zip Code: [ZipCode]
    Phone: [Phone]
    How did you hear about NeuRemedy?: [PatientSurveyQ]
    [/group-patient-phone]

    [group-doctor]
    PHYSICIAN INFORMATION
    Physician Information:
    Physician Name: [your-name-doctor] [your-lastname-doctor]
    Degree: [Degree]
    Email: [your-email-doctor]
    Phone: [tel-793]
    Office Name: [Office]
    Address: [address]
    City: [City]
    State: [your-state]
    Zip Code: [ZipCode2]
    How did you hear about NeuRemedy?: [DoctorSurveyQ]
    [/group-doctor]

    Accepts Marketing: [NeuRemedyBrochure]
    [your-message]


    This e-mail was sent from a contact form on realmlabs.net (https://realmlabs.net)

    On the front end, the groups are working. They are just hidden in the email.

    Please let me know if you have any tips/changes?

    Thank you
    Paul

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    what does your form code look like?

    Thread Starter psteiner29

    (@psteiner29)

    Hello

    This is what I have and on the front end, the groups are working as intended:

    <label>Please Select: (required)</label>
    [radio radio-432 “I am a physician who wants to dispense NeuRemedy” “I am a patient who wants to get started with NeuRemedy” ]<br/>

    [group group-patient-phone]
    <div id=”clearfix”>
    <div id=”left”>
    <label> Your Name (req.)
    [text* your-name] </label>
    <label> Email Address (req.)
    [email* your-email] </label>
    </div>
    <div id=”right”>
    <label> Zip Code (req.)
    [text* ZipCode] </label>
    <label>Phone Number
    [tel* Phone placeholder “Please provide your phone number”]</label>

    </div>
    [/group]
    </div>

    [group group-doctor]
    <div id=”clearfix”>
    <div id=”left”>
    <label> First Name (req.)
    [text* your-name-doctor] </label>
    <label>Last Name (req.)
    [text* your-lastname-doctor] </label>
    <label>Degree (req.)
    [text* Degree]</label>
    <label>Email Address (req.)
    [email* your-email-doctor] </label>
    </div>

    <div id=”right”>
    <label> Office Name
    [text Office]</label>
    <label> Office Phone (req.)
    [tel* tel-793]</label>
    <label> Office Street Address (req.)
    [text* address]</label>
    <label>Office City (req.)
    [text* City]</label>
    <label>Office Zip Code (req.)
    [text* ZipCode2] </label>
    <label>Office State (req.)
    [select* your-state include_blank data:us_subdivisions.states data:us_subdivisions.districts data:us_subdivisions.territories]</label>
    </div>
    </div>
    [/group]

    <label>Message
    [textarea your-message x2 placeholder “Message”]</label>

    [group group-patient-phone]
    <label>How did you hear about NeuRemedy?
    [select PatientSurveyQ “Please select” “Recommended by Physician” “Recommended by Friend/Family” “Internet Research” “Google Search” “Advertisement” “Email”]</label>
    [/group]

    [group group-doctor]
    <label>How did you hear about NeuRemedy?
    [select DoctorSurveyQ “Please select” “Saw at conference” “Attended a lecture” “Recommend by fellow physician” “Recommended by patient ” “Advertisement” “Email” “Google search”]</label>
    [/group]

    <label>Please send me news & information about NeuRemedy.</label>
    [checkbox NeuRemedyBrochure default:1 “YES”]

    [submit “Send”]

    Plugin Author Jules Colle

    (@jules-colle)

    Looks like you have 2 groups named group-doctor and 2 groups named group-patient-phone. All group names and field names need to be unique. For the moment the plugin does not allow multiple fields or groups to have the same name.

    Thread Starter psteiner29

    (@psteiner29)

    I will try to remove the second instance of groups and see what happens. But it has worked up until about a week ago.

    Plugin Author Jules Colle

    (@jules-colle)

    the thing is, it will not always fail if you give multiple group names. only the first occurence of a name will work as expected. so it might be that you believe your form is working properly because you only tested the first occurence. i agree this is annoying and not intuitive. i’m planning to add some validation to the forms to warn users about potential problems in a future release

    Thread Starter psteiner29

    (@psteiner29)

    Thank you for your help. seems to be working again now when emailed. TY

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conditional Fields Not included in Email’ is closed to new replies.