+ Reply to Thread
Results 1 to 6 of 6

Thread: Multiple emails in autoresponse from field values?

  1. #1
    Join Date
    Aug 2006
    Posts
    4

    Default Multiple emails in autoresponse from field values?

    Just curious if anyone knows how (if possible) to have the autoresponder send out different emails based on user selections within the form.

    Example: What is your favorit color? Blue [ ] Red [ ]

    depending on what the user selects a tailored template is used for the autoresponse.

    Anyway, hope that is clear.

    Thanks a ton!

  2. #2
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Multiple emails in autoresponse from field values?

    name your radio button "autorespond" and set the value to "PlainTemplate=blue.txt" for blue or "PlainTemplate=red.txt" for red

    everything in formmail works with fields, how you generate them is up to you

  3. #3
    Join Date
    Aug 2006
    Posts
    4

    Default Re: Multiple emails in autoresponse from field values?

    That makes sense, but I have two other potential problems. I am using a multiform. How would this work if the determining selection was made on an earlier form? Also, what if I want the field to have an actual value that gets passes on, not just used for the autoresponse.

    Thanks for your help!!!

  4. #4
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Multiple emails in autoresponse from field values?

    ok, so on the form that has the selection, you call the field "autorespondvalue" (or anything you like)

    then, on the last form (before the email gets sent) you do this:
    HTML Code:
    <input type="hidden" name="autorespond" value="$autorespondvalue" />

  5. #5
    Join Date
    Aug 2006
    Posts
    4

    Default Re: Multiple emails in autoresponse from field values?

    crabtree,

    Thank you so much for your help. I got the function working flawlessly. The only problem I have now is that the selection made value shows up as references to templates in a later page of the form (this is no surprise).

    For example. I have a preview page prior to submission and the field in question is "Will you attend" [ ]yes [ ]no. Depending of course on the answer a different email is sent. This is working, however, I would like to somehow display the answer to this question on the preview page without the values showing as Plaintemplate=no_confim.txt etc.... Is there a way around this?

    Again thanks for your help, and I hope the above is clear!

    Ray

  6. #6
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Multiple emails in autoresponse from field values?

    you can build pretty much any field you like with derive_fields

    this guide tells you: http://www.tectite.com/fmhowto/derived.php

    theres a new feature i havent used called "conditional derivation" - i think its what you need.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. no emails being sent
    By dunn123 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 13-Sep-2004, 01:19 PM
  2. Multiple selection list
    By GrandpaRob73 in forum FormMail Subscription Support
    Replies: 2
    Last Post: 25-Jun-2004, 01:45 AM
  3. help needed with values
    By aussieincanada in forum FormMail Subscription Support
    Replies: 3
    Last Post: 28-May-2004, 08:12 AM
  4. only two emails every ten minutes?
    By vynsane in forum FormMail Subscription Support
    Replies: 4
    Last Post: 26-May-2004, 10:00 PM
  5. not receiving emails
    By ctpiper in forum FormMail Subscription Support
    Replies: 1
    Last Post: 22-Apr-2004, 10:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts