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:

Return records from another (1997) Nested tags count question (1997) Stopping bad HTML propagation ? (1997) Server Freeze (1998) [WebDNA] Security Images (Captcha) (2008) WebDNA update from Smith Micro (2002) WebDNA Solutions ... sorry! (1997) can WC render sites out? (1997) RE: Problems with dbcatalog.exe (1997) Date Range works (1997) RequiredFields template (1997) WebCat2b15MacPlugin - showing [math] (1997) using showpage and showcart commands (1996) [WebDNA] HTTP Streaming -- impossible? (2010) Newbie Help (2003) Order not created error (1997) service stop and restart (1997) [WebDNA] max in a search (2009) [WebDNA] decrypt appears to be hosed (2008) [url] with frames (2003)