Results 1 to 3 of 3

Thread: Multiple selection list

  1. #1
    Join Date
    Jun 2004
    Posts
    2

    Question Multiple selection list

    First of all, this is a great script. I'm new to PHP, and this has been quite easy to configure. I'm only having one problem. On one of my forms, the user has the option to select several checkboxes under one field. When I receive the email from the form, it only lists the value for the bottom-most check. Is there a way to fix this?

    Thanks.

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

    Default Re: Multiple selection list

    Hi,

    In your form you need to declare each of the variables like this:
    Code:
     <input type="checkbox" name="xyz[]" .../>
    Note the "[]" after the name.

    If that doesn't work or you already have this, please tell me (you can use Private Messaging if you wish) the URL for your form and I'll take a look.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jun 2004
    Posts
    2

    Thumbs up Re: Multiple selection list

    Excellent. Works like a charm now. Thanks a lot for the help.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sending a wish list to multiple recipients that the user specifies in the form
    By Blizzard in forum FormMail Subscription Support
    Replies: 10
    Last Post: 11-Sep-2005, 03:46 PM
  2. new code for multiple checkboxes
    By nevdev in forum FormMail Subscription Support
    Replies: 2
    Last Post: 15-Jan-2005, 10:39 PM
  3. Multiple e-mail types
    By JohnB in forum FormMail Subscription Support
    Replies: 2
    Last Post: 14-Jan-2005, 03:51 PM
  4. Uploading Multiple Images
    By JNewb in forum FormMail Subscription Support
    Replies: 2
    Last Post: 12-Dec-2004, 02:39 PM
  5. Javascript and formmail: drop down list
    By bwv in forum FormMail Subscription Support
    Replies: 4
    Last Post: 05-Nov-2004, 10:18 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
  •