We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11190
    • 109 Posts
    Hello, all. I hate to post a second time. If there’s no response this time I’ll just quietly try to figure it out. I don’t know much of anything about PHP and hence don’t want to try to hack the eForm snippet or create my own. Any suggestions on how I can create an eForm which collects several e-mail addresses and then mails to each of them?

    I’d like to have several fields to collect several e-mail addresses and then have eForm e-mail each of them. This is a referral form. Is there a different snippet I should be using other than eForm? Thanks - John
      http://www.spiritualoutreach.com
      Making Christianity intelligible to secular society
      • 27376
      • 576 Posts
      Try making all the input fields into an array:
      <input name="mailto[]" type="text" value="email address 1" />
      <input name="mailto[]" type="text" value="email address 2" />
      And then put "[tt][+mailto+][/tt]" as the [tt]&to[/tt] field in your snippet call.

      That might do the trick, but it’s untested. Worth a try though.
        • 11190
        • 109 Posts
        Thank you very much. But how do I then feed the array into eForm? It appears to not take input field names in the &to parameter - John
          http://www.spiritualoutreach.com
          Making Christianity intelligible to secular society
          • 27376
          • 576 Posts
          Try putting "[tt][+mailto+][/tt]" as the [tt]&to[/tt] field in your snippet call. Perhaps TobyL could confirm whether or not this is possible. I know the placeholders snippet parameters is possible, but you’ll have to see whether or not the whole deal is possible.
            • 11190
            • 109 Posts
            Oop! Boy do I feel silly. I think my problem all along was a typo -- a missing `. Now the placeholder parameters do seem to be working. My apologies and thanks for the help - John
              http://www.spiritualoutreach.com
              Making Christianity intelligible to secular society