[removelineitem] not quite working inside [formvariables] loop

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 40198
interpreted = N
texte = Hi there,Here is a strange one that I just can't figure out. This is a bit of code I wrote oh so many years ago, and is not working now. I know it worked when I wrote it :)The problem is it only removes the first item in the loop.[showif [action]=update] [formvariables name=remove_&exact=f] [removelineitem cart=[cart]&index=[value]] [/formvariables] [/showif] Here is the form with all the unnecessary code removed for easy reading:
[lineitems] Select to remove: [/lineitems]
------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [removelineitem] not quite working inside [formvariables] loop (Charles Kline 2001)
  2. Re: [removelineitem] not quite working inside [formvariables] loop (Charles Kline 2001)
  3. Re: [removelineitem] not quite working inside [formvariables] loop (John Peacock 2001)
  4. [removelineitem] not quite working inside [formvariables] loop (Charles Kline 2001)
Hi there,Here is a strange one that I just can't figure out. This is a bit of code I wrote oh so many years ago, and is not working now. I know it worked when I wrote it :)The problem is it only removes the first item in the loop.[showif [action]=update] [formvariables name=remove_&exact=f] [removelineitem cart=[cart]&index=[value]] [/formvariables] [/showif] Here is the form with all the unnecessary code removed for easy reading:
[cart]> [lineitems] Select to remove: [/lineitems]
------------------------------------------------------------- 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://search.smithmicro.com/ Charles Kline

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:

How To question on setting up downloads (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Sending E-mail (1997) HTML Editors (1997) attn: smitmicro - cart limitation (2002) Intermitent problem using [referrer] (1997) Multiple security dbs (1997) Major bug report on rootbeer (1997) Freeze (2003) itools webcat atartup (2000) Freeze (2003) Error -108 (1997) Help! WebCat2 bug (1997) faxing orders (2000) Superfilous Characters (1998) Bug alert! (1997) Re:redirect from the errorsMessages.db entry (1997) read and write you own cookies with webcat (1997) Search Title Question (1998) RePost: NAT and the CART (1999)