Re: Remove Multiple Line Items
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62836
interpreted = N
texte = 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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
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 Web Archive of this list is at: http://webdna.smithmicro.com/
Brian Fries
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:
2nd WebCatalog2 Feature Request (1996)
WebCat2 - Getting to the browser's username/password data (1997)
[WebDNA] anyone successfully using webdna with paypal's NVP API? (2008)
Error handling for accountNum (1997)
FRAMES and CART tags problem??!? (1999)
Validation (2000)
how to get [protect] tag from webcat3b3 to 3.03 on IIS working (1998)
HomePage Caution (1997)
Help name our technology! (1997)
locking variables? (2000)
Error, 101 a DNS problem ? (1997)
Stopping bad HTML propagation ? (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Grep and removing text (2002)
Certificates? (2005)
I'm new be kind (1997)
cybercash (2002)
Just Testing (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Sorting by date (1997)