Remove Multiple Line Items

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62830
interpreted = N
texte = Hi I am trying to remove multiple line items from a cart in one form If I have 10 items in a cart and want to remove 4 at once there is a problem in that once the first item is removed the remaining items change their [index] to take up the now removed row. Therefore if I wanted to remove items 1, 4, 5, 10 When number one is removed Item 4 becomes 3, 5 becomes 4, 9 becomes 10. When 4 is removed it removes the original 5 which is now number 4, the original 10 becomes 8. When 5 is removed the original 7 is removed - BAD and the original 10 becomes 7, now there is no number 10 to remove. Any ideas ? Stuart Tremain idfk web developments, sydney, australia ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  2. Re: Remove Multiple Line Items ( Brian Fries 2005)
  3. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  4. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  5. Re: Remove Multiple Line Items ( Stuart Tremain 2005)
  6. Re: Remove Multiple Line Items ( Terry Wilson 2005)
  7. Re: Remove Multiple Line Items ( Kenneth Grome 2005)
  8. Remove Multiple Line Items ( Stuart Tremain 2005)
Hi I am trying to remove multiple line items from a cart in one form If I have 10 items in a cart and want to remove 4 at once there is a problem in that once the first item is removed the remaining items change their [index] to take up the now removed row. Therefore if I wanted to remove items 1, 4, 5, 10 When number one is removed Item 4 becomes 3, 5 becomes 4, 9 becomes 10. When 4 is removed it removes the original 5 which is now number 4, the original 10 becomes 8. When 5 is removed the original 7 is removed - BAD and the original 10 becomes 7, now there is no number 10 to remove. Any ideas ? Stuart Tremain idfk web developments, sydney, australia ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Stuart Tremain

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:

[OT] Communigate List (2003) 2.0 Info (1997) Product Value Changes (2000) Re:Emailer and encryption (1997) Languages (1997) searching for items that begin with a number (2004) converting characters in form (1997) Any user support forums or is the Talklist it? (2007) WebCatalog Mac 2.1b3 (1997) WebCat 4.0 & WebMerchant (2000) WebCat2b15MacPlugin - showing [math] (1997) Help! WebCat2 bug (1997) FORMS: Returning a specific page (1997) Automatic thumbnail images (1998) New syntax feedback for 4.0 (2000) Help! WebCat2 bug (1997) [WebDNA] EMailFolder/ (2016) PSC recommends what date format yr 2000??? (1997) bug? template caching and apache transfer byte log (1999) Snake Bites (1997)