Re: Renaming TextA

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19821
interpreted = N
texte = Sandy and Bob - thanks for your help. I'm getting close but still having problems.I have put the error checking and am using the addlineitem context instead of the add command. This is what is now in my page that shows the shopping cart (ShoppingCart.tml):[ShowIf [textB]=]

Please fill in the Logo field on the previous page

[/showif] [HideIf [textB]=] [addlineitem cart=[cart]&sku=[sku]&db=wmproducts.db]&textB=[textB][/addlineitem] This works, but now I have I can't remove an item. The remove code (on the same page is:Remove ItemThe item is not removed and the TextB information (logo) is lost and now appears as [textB]. It appears to me that because the addlineitems context is on this same page, when the remove command executes the item is readded to the cart but the input for textB is lost. Any suggestions?Dick Kirsner Competitive Edge, Inc. Associated Messages, from the most recent to the oldest:

    
  1. Re: Renaming TextA (Sandra L. Pitner 1998)
  2. Re: Renaming TextA (Richard Kirsner 1998)
  3. Re: Renaming textA (Brian B. Burton 1998)
  4. RE: Renaming textA (Sandra L. Pitner 1998)
  5. RE: Renaming textA (Richard Kirsner 1998)
  6. Re: Renaming textA (PCS Technical Support 1998)
  7. Re: Renaming textA (Sandra L. Pitner 1998)
  8. Renaming textA (Richard Kirsner 1998)
Sandy and Bob - thanks for your help. I'm getting close but still having problems.I have put the error checking and am using the addlineitem context instead of the add command. This is what is now in my page that shows the shopping cart (ShoppingCart.tml):[ShowIf [textB]=]

Please fill in the Logo field on the previous page

[/showif] [HideIf [textB]=] [addlineitem cart=[cart]&sku=[sku]&db=wmproducts.db]&textB=[textB][/addlineitem] This works, but now I have I can't remove an item. The remove code (on the same page is:[cart]&sku=[sku]>Remove ItemThe item is not removed and the TextB information (logo) is lost and now appears as [textB]. It appears to me that because the addlineitems context is on this same page, when the remove command executes the item is readded to the cart but the input for textB is lost. Any suggestions?Dick Kirsner Competitive Edge, Inc. Richard Kirsner

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:

[append] (1998) WebCatalog-NT?'s (1996) Re:No Data (1997) Some Questions (1997) Problem with CC problem ? (1997) autosensing lanague selection (1997) WebCatalog Technical Reference (1997) Developers in Washington State (2004) Site Downloaders (2002) WebCat2: multiple currency support (1997) Security Issues and WebCommerce Solution (1997) [OT] Search Engine Tips (2003) Referrer or maybe another way..... (2005) WebCat2 Append problem (B14Macacgi) (1997) Using [random] (1999) Linux WebDNA Server probs (2004) [lookup] vs. [search] (1998) [WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009) textarea question (1998) [ShowNext] (1997)