Isn't it the position of the CFMAIL? It's outside the loop so it will only return the last row...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 09 August 2002 17:04 To: [EMAIL PROTECTED] Subject: [cf-xml] why not all user inputs display in cfmail with cf_embedfields Good morning, I'm kinda of new in xml/wddx and am stumped on couple of problems. The following code works fine displaying all user inputs from the previous page with cfoutput. ***************** second page ****************************************** <form method="post" name="process" action="confirm.cfm"> <cf_embedfields> e-Eureka page<br><br> FName - MI - Vendors - Location<br> <CFLOOP from="1" to="#NewUserForm#" index="ii"> <cfoutput> <CFSET Name=Evaluate("form.FirstName_#ii#")> <CFSET MName=Evaluate("form.NewUserInitial_#ii#")> #Name# - #MName# - #form.NewUserOrg# - #form.NewUserLoc#<br> </cfoutput> </CFLOOP> <input type="Submit"> </form> *****************end of second page ************************************** It also works fine on the confirm.cfm page, but it only display the last entry in the cfmail. For example. user enter ten rows of data on the first page, ten rows of inputs are displayed on both second page and confirm page with a cfoutput. Somehow, it only display the last row of input in the cfmail. Can someone take a look what I did wrong? ************** confirm.cfm page ****************************************** <form method="post" name="process" action="confirm.cfm"> e-Eureka page<br><br> <CFLOOP from="1" to="#Form.NewUserForm#" index="ii"> <cfoutput> <CFSET Name=Evaluate("form.FirstName_#ii#")> <CFSET MName=Evaluate("form.NewUserInitial_#ii#")> <INput type="Hidden" name="FirstName_#ii#" value="#Name#"> <INput type="Hidden" name="NewUserInitial_#ii#" value="#MName#"> </cfoutput> </CFLOOP> <cfmail from="test" to="[EMAIL PROTECTED]" subject="New Acct Request"> FName - MI - Vendors - Location<br> #Name# - #MName# - #form.NewUserOrg# - #form.NewUserLoc#<br> </cfmail> <CFOUTPUT> <INput type="Hidden" name="NewUserOrg" value="#Form.NewUserOrg#"> <INput type="Hidden" name="NewUserLoc" value="#Form.NewUserLoc#"> </CFOUTPUT> </form> ************************end of confirm.cfm page ******************** Many thanks for your assistance. Julia __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -----------------------+ cf-xml mailing list http://torchbox.com/xml/list.cfm _____________________________________________________________________ This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com ************************************************************************* Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. The information supplied in this email should be treated in confidence. No liability whatsoever is accepted for any loss or damage suffered as a result of accessing this message or any attachments. _____________________________________________________________________ This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com -----------------------+ cf-xml mailing list http://torchbox.com/xml/list.cfm
