• Resolved sprocker

    (@sprocker)


    Hi, I am trying to send an email to the recipient in a dropdown select as per this page: https://contactform7.com/selectable-recipient-with-pipes/

    BUT the dropdown is not including the options…

    If I use this:

    [select your-recipient "CEO|[email protected]"
                        "Sales|[email protected]"
                        "Support|[email protected]"]

    The site is showing:

    <select name="your-recipient" class="wpcf7-form-control wpcf7-select" aria-invalid="false"><option value="CEO">CEO</option><option value="Sales">Sales</option><option value="Support">Support</option></select>

    How do I get the dropdown to use the options as per the content ie

    <select name="your-recipient" class="wpcf7-form-control wpcf7-select" aria-invalid="false"><option value="[email protected]">CEO</option><option value="[email protected]">Sales</option><option value="[email protected]">Support</option></select>

    or is there a better way to choose a recipient based on the dropdown selection?

    I have added define( ‘WPCF7_USE_PIPE’, true ); in the functions file, no change!

    Thanks

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

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Drop down options’ is closed to new replies.