Re: BIG PROBLEMS with Checkboxes!!!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20512
interpreted = N
texte = Hey there , I'm back..heh heh and the problem is not solved , I got a few more questions also, what in the Invoice template refers to numerically indexed names ? the only thing I could get out of it was that you meant the [Interpret] tags , but those are not specific on numerical or text characters , In deed I did not have to Interpret all of the fields but the wrong items where still displayed. and you asked about the {search][founditems] and sugested useing [formvaribles] , well that didnt work ethier , the search is used to find the neSKUdata and thus with the show if check[index] finding the multiple SKU's being sent in at one time , I tried adding and neSKUdata=[blank] into the formvaribles command but that made it go hay wire..heh heh and last on the Results Template how do you see [part#] and [category] and having numerical prefixes ?I appreciate the effort , but the problem still exists , anyone else got a clue ?ThanksChrisAt 11:15 AM 10/16/98, you wrote: >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 =================== Part two. (see, *knew* I'd get into trouble! ) Why are you doing a search on the Invoice Template to process the form? Instead of [search][founditems] shouldn't this be [formvariables]? Mixing commands and contexts always gets me confused -- even on a good day! ; ) >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] >[include Fulfillment.txt] >[showif [email]!][include file=ThankYou.txt&v.email=[email]][/showif]Rob Marquardt ======================= 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)
Hey there , I'm back..heh heh and the problem is not solved , I got a few more questions also, what in the Invoice template refers to numerically indexed names ? the only thing I could get out of it was that you meant the [interpret] tags , but those are not specific on numerical or text characters , In deed I did not have to Interpret all of the fields but the wrong items where still displayed. and you asked about the {search][founditems] and sugested useing [formvaribles] , well that didnt work ethier , the search is used to find the neSKUdata and thus with the show if check[index] finding the multiple SKU's being sent in at one time , I tried adding and neSKUdata=[blank] into the formvaribles command but that made it go hay wire..heh heh and last on the Results Template how do you see [part#] and [category] and having numerical prefixes ?I appreciate the effort , but the problem still exists , anyone else got a clue ?ThanksChrisAt 11:15 AM 10/16/98, you wrote: >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 =================== Part two. (see, *knew* I'd get into trouble! ) Why are you doing a search on the Invoice Template to process the form? Instead of [search][founditems] shouldn't this be [formvariables]? Mixing commands and contexts always gets me confused -- even on a good day! ; ) >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] >[include Fulfillment.txt] >[showif [email]!][include file=ThankYou.txt&v.email=[email]][/showif]Rob Marquardt ======================= Chris W.

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:

Nested vs conditional (1997) Add to a field (1998) WCS Newbie question (1997) Re:Dumb Question about Docs (1997) handling cookies in and out of secure space (2000) autocommit problem (1998) [WebDNA] Duplicate emails (2008) Problem with Formulas.db (1999) Workaround for Emailer doubled bcc messages (1998) Security for malls with different webmasters (1998) Extended [ConvertChars] (1997) Hiding Email Addresses (2003) won't serve .tpl -index.tpl gone, made test.tpl (2000) WebCat2b13MacPlugIn - syntax to convert date (1997) Today's suggestions (1998) [OT] Who's got a cool link (2002) Cannot get subtotal to work (1997) encrypted database (2004) Mixing and/or in searches (1998) wild question (1998)