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:

Help! WebCat2 bug (1997) Professional WebDNA Hosting Solutions (2005) My web page only... (2003) [WebDNA] Databases not staying open (2010) HELP WITH DATES (1997) Card clearance, problems - solutions? (1997) [WebDNA] ImageMagick function library now available (2009) Multithreading of [replace] (1999) [/application] error? (1997) blank page from template (1997) Search results templates (1996) writing db to disk (1997) Re:listfiles-looking for slick solution (1997) Showing unopened cart (1997) Passing info in [Addlineitem] (1997) Reminder... (2003) Hiding the URL(was Cart ID Duplication) (2001) Sendmail double space (2001) I caught a Jaguar ;) (2002) Line Feed Character Appended (1998)