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