That's easy.  Use unique names on each form field as you originally showed... 
e.g., the names I'm illustrating below. 
Submit to a page that has:

<cfmail from="[email protected]" to="[email protected]">

Here are the registrants:

Parent/guardian 1 : #form.name1#
Address: #form.address1#
Phone:    #form.phone1#
Email :    #form.email1#

Parent/guardian 2 : #form.name2#
Address: #form.address2#
Phone:    #form.phone2#
Email :    #form.email2#

Parent/guardian 3 : #form.name3#
Address: #form.address3#
Phone:    #form.phone3#
Email :    #form.email3#

Parent/guardian 4 : #form.name4#
Address: #form.address4#
Phone:    #form.phone4#
Email :    #form.email4#

<cfmail>





Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged


-----Original Message-----
From: Steve LaBadie [mailto:[email protected]] 
Sent: Thursday, September 29, 2011 2:42 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute


Robert,

The goal is to send the form data via email to the owner of the form, not to 
the people registering.

Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
http://www.esu.edu
[email protected]


-----Original Message-----
From: Robert Harrison [mailto:[email protected]]
Sent: Thursday, September 29, 2011 2:39 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute


I still don't understand what you want to do from that.   What's the
action you want to take? Do you want to send mail to the people in the
form?   Do you want to send an email to someone else with the form data
in the email?

What's the goal?



-----Original Message-----
From: Steve LaBadie [mailto:[email protected]] 
Sent: Thursday, September 29, 2011 2:28 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute


I apologize if I haven't explained myself properly. There is space for 4
attendees to register for the event. The owner of the form wants to
gather all of the info inputted into the form.

Parent/guardian #1
Address
Phone
Email

Parent/guardian #2
Address
Phone
Email

Parent/guardian #3
Address
Phone
Email

Parent/guardian #4
Address
Phone
email

Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
http://www.esu.edu
[email protected]






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to