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:

Re:No Data (1997) createfolder not behaving as expected (1999) Setting up a lightbox (2002) RE:It just Does't add up!!! (1997) Re:2nd WebCatalog2 Feature Request (1996) Emailer help....! (1997) Nesting FoundItem Context (1997) PixelPipe for Windows? (2003) server2003 isolation mode (2004) Format all of a sudden doesn't work (1997) Trouble with listwords (2000) [WebDNA] JSONStore Levels (2020) Help! WebCat2 bug (1997) textarea data entry and display (2000) Dreamweaver and WebDNA (2003) Customizing WebDelivery.html (1998) Bug or syntax error on my part? (1997) Is this possible, WebCat2.0 and checkboxes (1997) Error:Too many nested [xxx] contexts (1997) Practice runs ? (1997)