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:

Shopping with Accounts (2003) Last version of webcatalog (2001) Redirect in 4.0 (2000) RE: [WebDNA] Use of MySQL with WebDNA (2010) Nested searches (1998) Sending Mail Confirmation (2002) HELP! Search finding too much! (1998) [WebDNA] search comparison: ends with (2016) Forms Search Questions (1997) Hiding HTML and page breaks (1997) Page Breaks (1999) WCS Newbie question (1997) Help name our technology! (1997) WebCat2: Items xx to xx shown, etc. (1997) Update quantity (2000) Pop-Up Redirects (1998) Hard Questions ? (1997) fix permissions on osx ... (2004) Summing fields (1997) syntax question, not in online refernce (1997)