Re: Remove Multiple Line Items

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62837
interpreted = N
texte = Learn something NEW every day :) Thanks Brian, I wasn't aware of that . Stuart Tremain idfk web developments, sydney, australia On 24 Aug 2005, at 1:26 PM, Brian Fries wrote: > Since this is for the record, if you're talking about inside the > math context, then the square brackets around a math variable are > optional. Try this: > > [math show=f]adjustby=0[/math] > [math show=f]adjustby=[adjustby]-1[/math] > [adjustby] > > It will return "-1" as desired. The same is NOT true of text > variables. > > -- Brian Fries, BrainScan Software -- http:// > www.brainscansoftware.com -- > > > On Aug 23, 2005, at 3:34 PM, Stuart Tremain wrote: > > >> Terry >> >> For the archives: There are a few missing [ ] brackets around >> adjustby >> >> [showif [trig]=Recalculate] >> [math show=f]adjustby=0[/math] >> >> [formvariables name=qty_&exact=F] >> [math show=f]updateitemnumber=[getchars start=5][name][/getchars]+ >> [adjustby][/math] >> >> [showif [value]=0] >> [removelineitem file=ShoppingCarts/[cart]&index=[updateitemnumber]] >> [math show=f]adjustby=[adjustby]-1[/math] >> [/showif] >> >> [hideif [value]=0] >> [setlineitem file=ShoppingCarts/[cart]&db=[db]&index= >> [updateitemnumber]]quantity=[value][/setlineitem] >> [/hideif] >> [/formvariables] >> >> [/showif] >> >> >> >> Stuart Tremain >> > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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)
Learn something NEW every day :) Thanks Brian, I wasn't aware of that . Stuart Tremain idfk web developments, sydney, australia On 24 Aug 2005, at 1:26 PM, Brian Fries wrote: > Since this is for the record, if you're talking about inside the > math context, then the square brackets around a math variable are > optional. Try this: > > [math show=f]adjustby=0[/math] > [math show=f]adjustby=[adjustby]-1[/math] > [adjustby] > > It will return "-1" as desired. The same is NOT true of text > variables. > > -- Brian Fries, BrainScan Software -- http:// > www.brainscansoftware.com -- > > > On Aug 23, 2005, at 3:34 PM, Stuart Tremain wrote: > > >> Terry >> >> For the archives: There are a few missing [ ] brackets around >> adjustby >> >> [showif [trig]=Recalculate] >> [math show=f]adjustby=0[/math] >> >> [formvariables name=qty_&exact=F] >> [math show=f]updateitemnumber=[getchars start=5][name][/getchars]+ >> [adjustby][/math] >> >> [showif [value]=0] >> [removelineitem file=ShoppingCarts/[cart]&index=[updateitemnumber]] >> [math show=f]adjustby=[adjustby]-1[/math] >> [/showif] >> >> [hideif [value]=0] >> [setlineitem file=ShoppingCarts/[cart]&db=[db]&index= >> [updateitemnumber]]quantity=[value][/setlineitem] >> [/hideif] >> [/formvariables] >> >> [/showif] >> >> >> >> Stuart Tremain >> > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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:

Classified (1999) WebCat for Unix?? (1997) WebCatalog for guestbook ? (1997) WebDNA won't start on Apache/iTools7 (2003) $Replace with [founditems] (1997) Advanced WebCat Guidelines - do they exist beyond docs (1999) Suffix Slowdown? (2004) Resume Catalog ? (1997) [protect admin] (1997) StoreBuilder UPS/XML code question ... (2003) [WebDNA] [Delete] doesn delete all... (2009) redirect with more than 256 characters (1999) selecting multiple found items (1997) Emailer Question (1998) Don't tick me off :) [elaspedtime] (1997) Size limit for tmpl editor ? (1997) Carrying over data? (1997) Date Time Oddness (1999) Internet Explorer 6 Form problems (2005) Generating unique SKU from [cart] - FIXED! (1997)