opps nevermind. A. ----- Original Message ----- From: "Justin Hansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 02, 2002 12:02 PM Subject: RE: [KCFusion] Parsing two lists
> <cfif listLen(form.Item) gt 0 and (listLen(form.Item) eq > listLen(form.ItemQty))> > <cfloop from="1" to="#listLen(form.Item)#" index="i"> > <cfoutput> > #listGetAt(form.ItemQty,i)# #listGetAt(form.Item,i)# > </cfoutput> > </cfloop> > </cfif> > > > Justin Hansen > -------------------------- > Uhlig Communications > Web Developer / Programmer > -------------------------- > [EMAIL PROTECTED] > 913-754-4273 > -------------------------- > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Keith Purtell > Sent: Thursday, May 02, 2002 11:45 AM > To: KCFusion (E-mail) > Subject: [KCFusion] Parsing two lists > > > This should be simple but my code keeps failing. I have a form that sends > multiple values for the same form field. They arrive at my processing > template as two lists; one for the item being ordered and another for > quantity. > > Field name Value > ---------- ---------------------- > Item Servers,Modems,Printers > ItemQty 8,6,5 > > > The output I seek is: > 8 Servers > 6 Modems > 5 Printers > > I can't change the sending form; it's a mixture of CF, HTML and JavaScript > that has been declared final. However I'd like assistance with the > processing end. Any tips on the easiest way to approach this? > > Keith Purtell, Web/Network Administrator > VantageMed Operations (Kansas City) > Email: [EMAIL PROTECTED] > > CONFIDENTIALITY NOTICE: This email message, including any attachments, is > for the sole use of the intended recipient(s) and may contain confidential > and privileged information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the intended recipient, please > contact the sender by reply email and destroy all copies of the original > message. > > > > ______________________________________________________________________ > The KCFusion.org list and website is hosted by Humankind Systems, Inc. > List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org > Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] > To Subscribe.................... mailto:[EMAIL PROTECTED] > To Unsubscribe................ mailto:[EMAIL PROTECTED] > > > > > ______________________________________________________________________ > The KCFusion.org list and website is hosted by Humankind Systems, Inc. > List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org > Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] > To Subscribe.................... mailto:[EMAIL PROTECTED] > To Unsubscribe................ mailto:[EMAIL PROTECTED] > ______________________________________________________________________ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe.................... mailto:[EMAIL PROTECTED] To Unsubscribe................ mailto:[EMAIL PROTECTED]