Results 1 to 2 of 2

Thread: Multiple Recipients

  1. #1
    Join Date
    Dec 2008
    Location
    Davenport, Iowa USA
    Posts
    29

    Default Multiple Recipients

    From the documentation:

    < select name="recipients[]" multiple="multiple">
    <option value="jackATTmysite.com">Jack</option>
    <option value="maryATThersite.com">Mary</option>
    < /select>

    Allows the user to select one or more recipients.

    First question: Does "recipients" need to be defined as hidden prior to the selection box as in:

    < input type="hidden" name="recipients" value="xyz"/>

    Second question is if the value can be derived from the formmail.ini file. For example:

    < select name="recipients[]" multiple="multiple">
    <option value="abc">Jack</option>
    <option value="def">Mary</option>
    < /select>

    where the formmail.ini file is:

    [email_addresses]
    abc=jack@hissite.com
    def=mary@hersite.com

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: Multiple Recipients

    Hi, No, the field does not have to be defined as hidden. Hidden is a browser concept that means create a field the use can't see. Your example for the second question is correct, that's how to use it with an INI file.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to Have Multiple Recipients?
    By DesiDancItalia in forum HOWTO Guides and Tips
    Replies: 1
    Last Post: 04-Mar-2011, 10:53 AM
  2. Multiple Recipients
    By Squeek in forum Community Support
    Replies: 0
    Last Post: 12-Mar-2009, 09:53 PM
  3. Multiple recipients
    By WyleySam in forum Features Questions
    Replies: 4
    Last Post: 30-Jan-2007, 12:52 AM
  4. Multiple Recipients
    By cwaite in forum FormMail Subscription Support
    Replies: 9
    Last Post: 19-Jul-2005, 11:15 PM
  5. Multiple recipients
    By hoss in forum FormMail Subscription Support
    Replies: 3
    Last Post: 26-Jan-2005, 07:02 AM

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
  •