We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13825
    • 55 Posts
    Anybody know why this doesn’t work?
    <li><label for="cfcontact">Send to:</label> <select name="email" id="cfcontact" class="text" eform="Send to:email:::" >[[Ditto? &parents=`13` &tpl=`contact-options` &display=`all` &filter=`instructor-email,,2`]]</select></li>
    


    This basically shows a dropdown list with names and email (as the value), I’m using the send direct option to send the email to the selected person.
    However I get an error message: Send to » Incorrect value

    The same form without ditto (i.e. hard coded) seems to work!! very strange. What’s the best way of making a form dynamically send to a seleted address?

    Thanks

      • 28042 ☆ A M B ☆
      • 24,524 Posts
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org