Re: Showif for mulitple variations
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14738
interpreted = N
texte = I don't mean to be rude, but this somehow seems MORE complicated then itneeds to be...( I was kind of looking for a one line solution)(Although you do get +2 points for the creative use of the [MATH] tag)The Great BrianB----------------------------------------------Protect your right to own and arm bears.--------------------------------------------------------From: Christer Olsson
To: WebDNA-Talk@smithmicro.com Subject: Re: Showif for mulitple variations Date: Sat, 15 Nov 1997 15:28:17 >Is there some easy way to do something like:>>[showif [SKU]=47,58,112,213] blah,blah,blah [/showif]>>right now I am doing:>>[showif [SKU]=47] blah,blah,blah [/showif]>[showif [SKU]=58] blah,blah,blah [/showif]>[showif [SKU]=112] blah,blah,blah [/showif]>[showif [SKU]=213] blah,blah,blah [/showif][math show=F]Hit=1[/math][showif [SKU]=47][math show=F]Hit=Hit+1[/math][/show][showif [SKU]=58][math show=F]Hit=Hit+1[/math][/show][showif [SKU]=112][math show=F]Hit=Hit+1[/math][/show][showif [SKU]=113][math show=F]Hit=Hit+1[/math][/show][showif [math show=F]Hit[/math]>1]Your fancy stuff here[/show]
Associated Messages, from the most recent to the oldest:
I don't mean to be rude, but this somehow seems MORE complicated then itneeds to be...( I was kind of looking for a one line solution)(Although you do get +2 points for the creative use of the [math] tag)The Great BrianB----------------------------------------------Protect your right to own and arm bears.--------------------------------------------------------From: Christer Olsson To: WebDNA-Talk@smithmicro.com Subject: Re: Showif for mulitple variations Date: Sat, 15 Nov 1997 15:28:17 >Is there some easy way to do something like:>>[showif [SKU]=47,58,112,213] blah,blah,blah [/showif]>>right now I am doing:>>[showif [SKU]=47] blah,blah,blah [/showif]>[showif [SKU]=58] blah,blah,blah [/showif]>[showif [SKU]=112] blah,blah,blah [/showif]>[showif [SKU]=213] blah,blah,blah [/showif][math show=F]Hit=1[/math][showif [SKU]=47][math show=F]Hit=Hit+1[/math][/show][showif [SKU]=58][math show=F]Hit=Hit+1[/math][/show][showif [SKU]=112][math show=F]Hit=Hit+1[/math][/show][showif [SKU]=113][math show=F]Hit=Hit+1[/math][/show][showif [math show=F]Hit[/math]>1]Your fancy stuff here[/show]
Brian B. Burton
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:
Redirect Possible???????? (2001)
WebCatalog/Mac 2.1b2 New Features (1997)
To use GREP to boldface text (2003)
RE: automatic reload of frameset (1997)
Shipcost lookup? (1997)
This message couldn't reach the list! (multi-column (1998)
Forumulas.db & Variables (2002)
[moveFile] Question (1999)
Running _every_ page through WebCat-error.html (1997)
RE: E-mailer error codes (1997)
Banners (1997)
default image if image in code not available (2003)
Navigator Parsing (1997)
HomePage Caution (1997)
Navigator 4.0 & tables (1997)
Summing fields (1997)
[input]?? (1998)
Is there a max number of fields? (1998)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
email and W* 4.x (2000)