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:
Pricing based on quantity (2000)
Hiding HTML and page breaks (1997)
FREE Stuff .. (2003)
PSC recommends what date format yr 2000??? (1997)
Using [detete] (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Cancel Subscription (1996)
Re:quit command on NT (1997)
verify email address (1998)
Popup Menu Options (1998)
Emailer (1997)
flushdatabases (2000)
TaxTotal (2003)
F2 to F3 rocky transition (1997)
WebCat and PIXO (2000)
random images (1997)
sorting dates (1999)
RE: Renaming textA (1998)
Ampersand (1997)
Sorting by date (1997)