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:

problems with 2 tags (1997) RE: Upload and WebCat (1998) Some Questions (1997) WebCat2: Master Counter snippet (1997) URGENT! ACGI Stopped!!!! (1997) Nested [xxx] contexts & Bad Suffix (1998) View order not right (1997) 'does not contain' operator needed ... (1997) Only charge card when product shipped ? (1997) [WebDNA] WebDNA receiving numerous signal SIGSEGV then crashing (2016) [appendfile] ? Or what (2001) Emailer (1997) OH CRAP!!!!!- Template not found error!!! (1999) suffix mapping for NT? (1997) Sort Issues (2000) WebTen and WebCat (1997) WebDNA on OS X Tiger (2006) Big Databases (1997) Editing the search string (1997) Re:trouble (1997)