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 display 0. 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 display 0. 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:

error No such file (2001) lookup and two records? (1997) Webcat causing crashes left and right! (1997) upgrading (1997) WebDNA-Talk Digest mode broken (1997) SSL do I need it?? (1998) Search crashing server (1998) Execute Applescript (1997) [WebDNA] Comparisons (2011) Sendmail on OSX/Communigate Pro (2002) [math] show=F exists? (1997) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Searching multiple fields from one form field (1997) apostrophe in search item (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Secure Server (1999) Odd request (2003) Subtotal Taxabletotal Grandtotal **CART** (2005) [WebDNA] Shopping cart code debug (2009) Q: writefile and uploads. (1998)