This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32731
interpreted = N
texte = [text]ship=[math]0[lineitems]+[quantity][/lineitems][/math][/text][showif [ship]<3]$4.50[/showif][showif [ship]=3]$6.00[/showif][showif[ship]=4]$6.00[/showif][showif [ship]=5]$6.00[/showif][showif [ship]>5]15%[/showif][/showif]The above snippet works and displays correctly.$[showif [ship]<3][format .2f][math][subtotal]+4.50[/math][/format][/showif][showif [ship]=3][format .2f][math][subtotal]+6.00][/math][/format][/showif][showif[ship]=4][format .2f][math][subtotal]+6.00][/math][/format][/showif][showif[ship]=5][format .2f][math][subTotal]+6.00][/math][/format][/showif][showif [ship]>5][format .2f][math][subTotal]+[subtotal]*.15[/math][/format][/showif]This snip above works for <3 and >5, but the 3,4,5 display0. Fix? I tried [showif [ship]^3,4,5], but that didn't work.Newish so sorry if this is obvious. I can't find any docs(so far) on using multiple comparison operands?? Nested[showifs] perhaps?? I'll keep digging. Thanks!! :)-------------------------------------------------------------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:
[text]ship=[math]0[lineitems]+[quantity][/lineitems][/math][/text][showif [ship]<3]$4.50[/showif][showif [ship]=3]$6.00[/showif][showif[ship]=4]$6.00[/showif][showif [ship]=5]$6.00[/showif][showif [ship]>5]15%[/showif][/showif]The above snippet works and displays correctly.$[showif [ship]<3][format .2f][math][subtotal]+4.50[/math][/format][/showif][showif [ship]=3][format .2f][math][subtotal]+6.00][/math][/format][/showif][showif[ship]=4][format .2f][math][subtotal]+6.00][/math][/format][/showif][showif[ship]=5][format .2f][math][subTotal]+6.00][/math][/format][/showif][showif [ship]>5][format .2f][math][subTotal]+[subtotal]*.15[/math][/format][/showif]This snip above works for <3 and >5, but the 3,4,5 display0. Fix? I tried [showif [ship]^3,4,5], but that didn't work.Newish so sorry if this is obvious. I can't find any docs(so far) on using multiple comparison operands?? Nested[showifs] perhaps?? I'll keep digging. Thanks!! :)-------------------------------------------------------------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/
Parker
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:
Webmerchant confirmation hooks? (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Include (1998)
(2003)
Database Helper Update (1998)
RE: AccountAuthorizer doesn't seem to work (1997)
zip code vs tax rate database request (2002)
required fields (1999)
Cart Question: The Epic Saga (1998)
Templates on Unix & CGI on Mac? (1997)
[WebDNA] Converting Excel spreadsheets to CSV for use in WebDNA (2016)
formula?? (2000)
Does ".tpl" index with SE's? (2003)
& in Lookups (1997)
ODBC to WebCat (2000)
Credit Card Checksum (1997)
problems with 2 tags (1997)
triggering an update of two frames (1998)
New [math] variable not working... (2001)
WebCat2.0 acgi vs plugin (1997)