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:

Database Security (1998) Denying access by IP address (2000) WebCat2 as a chat server? (1997) Dates! (1998) Make sure I understand this??? (1997) [trim]?! (2004) Create Folder Question... (2000) WebCat2.0 [format thousands .0f] no go (1997) 5.0 Preview Promotion Extension (2003) Logic question (2002) Cookie Problems (2000) 2.0Beta Command Ref (can't find this instruction) (1997) [MATH] and Dates (1998) Monthly Reports (2000) W* 4.2 / WebCat (TPro) 3.0.5b / OS 8.5.1 / BW G3 (2000) Problem with umlaut (2001) WebCat editing, SiteGuard & SiteEdit (1997) Not really WebCat- (1997) Spell Check (2000) AAAH: stupid sendmail (2001)