We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 332
    • 23 Posts
    Hi, I am trying to use Ditto to pass the value of the &to parameter into eform, but i’m having some trouble getting it to work.

    Here is my Eform call:

    [!eForm? &formid=`requestForm` &tpl=`request-showing` &report=`request-report` &thankyou=`46` &from=`[email protected]` &subject=`[+yourName+] would like to request a property showing.` &to=`[[Ditto? &tpl=`get-agent-email` &parents=`84` &extenders=`request` ]]` !]

    I am using the request extender on the ditto call to help me determine the value I need. I set up a test page that simply executes the ditto call using request extender, and I am getting the result I want passed back. Sample page:

    http://www.klrealtors.com/index.php?id=110&ditto_filter=pagetitle,Michael%20Lattman,7

    You’ll see above this page returns an email address. The onyl thing on the page is the ditto snippet output. How can I now get this output from ditto to correctly work in the &to parameter for eform?

    Any info, tips, advice would be greatly appreciated. I’m very familiar with ModX, but not 100% fluent in PHP.
    Thanks,

    Anthony
    [email protected]