We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39990
    • 45 Posts
    I have SPForm installed on my website and have several names in the recipient list drop-down. I am wondering if there is a way to select a name from my drop-down through a link that goes to the contact form.

    What I would like to do is create a link next to the persons name and information that says "Contact Me" on another page. The link would then go to the contact form and SPForm automatically select their name out of the drop-down list. Is there a way to do this?

    Thank you for your help!
      • 3749
      • 24,544 Posts
      You could have multiple contact pages, each with just one name in the recipient list in the snippet tag. Your links would just forward the user to the appropriate page. That would work for sure.

      Another way might be to put a placeholder in the snippet tag for the recipient list and use a snippet above the SPForm snippet tag to set that placeholder based on a $_GET or $_POST from the forwarding page.

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 39990
        • 45 Posts
        Thank you for the response! I will try those methods!