Re: BIG PROBLEMS with Checkboxes!!!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20507
interpreted = N
texte = On 10/16/98 11:54 AM, Chris W. so noted...I think I've got a cold today, so I may not be the clearest, but this jumped out at first glance.Your Invoice template refers to numerically indexed names for [check], [part#] and [category] (also, why is [ModelDescription] being [interpret]ed here?) ...>Invoice Template : > >[OrderFile cart=[cart]]>[Search db=[db]&neSKUdata=[blank]] >[FoundItems] >[ShowIf [Interpret][check[index]][/Interpret]=T] > >[AddLineItem db=[db]&cart=[cart] >&sku=[sku]]part#=[Interpret][part#[index]][/Interpret]&Category=[Interpret][ >Category[index]][/Interpret]&ModelDescription=[Interpret] >[ModelDescription][/Interpret][/AddLineItem] >[/ShowIf] >[/FoundItems] >[/Search]But in the Results page, only [check] gets a numerical suffix. [part#] and [category] do not ...>Results page :>[Search db=engine.txt&neSKUdata=[blank]&horsepowersort=1&cart=[cart]] >[foundItems] > > >[showif [new]=T][/showif]size=-1>[Category]   [ModelDescription] >[horsepower] >href=Detail.tmpl$search?db=engine.txt&eqskudata=[url][sku][/url]&cart=[cart >]>More Info!!! > > > >[/foundItems] >[/Search]There may be other problems of a similar nature on the two pages as well, but I think that this discrepancy between numbered and non-numbered variables is at the root of your trouble.I should know better than to be posting : ) Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: BIG PROBLEMS with Checkboxes!!! (Chris W. 1998)
  2. Re: BIG PROBLEMS with Checkboxes!!! (Chris W. 1998)
  3. BIG PROBLEMS with Checkboxes!!! (Chris W. 1998)
  4. BIG PROBLEMS with Checkboxes!!! (Chris W. 1998)
  5. Re: BIG PROBLEMS with Checkboxes!!! (Rob Marquardt 1998)
  6. Re: BIG PROBLEMS with Checkboxes!!! (Rob Marquardt 1998)
On 10/16/98 11:54 AM, Chris W. so noted...I think I've got a cold today, so I may not be the clearest, but this jumped out at first glance.Your Invoice template refers to numerically indexed names for [check], [part#] and [category] (also, why is [ModelDescription] being [interpret]ed here?) ...>Invoice Template : > >[OrderFile cart=[cart]]>[Search db=[db]&neSKUdata=[blank]] >[founditems] >[ShowIf [interpret][check[index]][/Interpret]=T] > >[AddLineItem db=[db]&cart=[cart] >&sku=[sku]]part#=[interpret][part#[index]][/Interpret]&Category=[interpret][ >Category[index]][/Interpret]&ModelDescription=[interpret] >[ModelDescription][/Interpret][/AddLineItem] >[/ShowIf] >[/FoundItems] >[/Search]But in the Results page, only [check] gets a numerical suffix. [part#] and [category] do not ...>Results page :>[Search db=engine.txt&neSKUdata=[blank]&horsepowersort=1&cart=[cart]] >[founditems] > > >[showif [new]=T][/showif]size=-1>[Category]   [ModelDescription] >[horsepower] >href=Detail.tmpl$search?db=engine.txt&eqskudata=[url][sku][/url]&cart=[cart >]>More Info!!! > > > >[/foundItems] >[/Search]There may be other problems of a similar nature on the two pages as well, but I think that this discrepancy between numbered and non-numbered variables is at the root of your trouble.I should know better than to be posting : ) Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

A little syntax help (1997) UPS problems (again) (2000) unbreakable space on windows (2008) Error Lob.db records error message not name (1997) Upload and WebCat (1998) WebCatalog NT beta 18 now available (1997) UPS Quick Cost Calculator (1997) international time (1997) Running a store on BOTH http and https (1998) WebCat2.0b15-to many nested [xx] tags (1997) off-topic - printinglib 68K (1997) Multiple catalog databases and showcart (1997) [taxRate] [TaxTotal] ? (1997) ListFiles (1998) [WebDNA] jumpstart me? - how to auto-upload to a remote server? (2010) Searching for ALL / empty form field (1997) WebCat2 beta 11 - new prefs ... (1997) Encrypt question. (2000) Counting LineItems (2000) Banners (1997)