Re: [SHOWIF AND/OR]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11344
interpreted = N
texte = Unfortunately that is not possible at this time. The method you are using,however, is a very clever work-around and probably a lot less clumsy thansome of the alternatives.John.>Does [SHOWIF] and [HIDEIF] in any way support multiple conditions like>[SHOWIF condition1 AND condition2]?>>I found out (even if it's not in the docs, but in one of the examples) how>to set a variable, so I can solve it in a clumsy way:>>[SHOWIF condition1]>Blablabla>[MATH]Variable1=1[/MATH]>[/SHOWIF]>>[SHOWIF condition2]>Blablabla>[MATH]Variable2=1[/MATH]>[/SHOWIF]>>[SHOWIF [MATH]Variable1+Variable2=2[/MATH]]>Blablabla>[/SHOWIF]>>But - it would be much more convinient to use [SHOWIF condition1 AND>condition2], so I hope this is implemented but not found by me :-)>> *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Art director S-211 37 Malmoe Fax +46 40 97 99 77> Ljusa Ideer AB Sweden http://www.ljusaideer.seJohn A. Hill, V.P. Marketing *********************************Pacific Coast Software * Home of the Web's best11770 Bernardo Plaza Ct. #462 * Catalog and Merchant softwareSan Diego, CA 92128 * http://www.smithmicro.comPhone: 619-675-1106 Fax: 675-0372 *********************************
Associated Messages, from the most recent to the oldest:
Unfortunately that is not possible at this time. The method you are using,however, is a very clever work-around and probably a lot less clumsy thansome of the alternatives.John.>Does
[showif] and
[hideif] in any way support multiple conditions like>[SHOWIF condition1 AND condition2]?>>I found out (even if it's not in the docs, but in one of the examples) how>to set a variable, so I can solve it in a clumsy way:>>[SHOWIF condition1]>Blablabla>
[math]Variable1=1[/MATH]>[/SHOWIF]>>[SHOWIF condition2]>Blablabla>
[math]Variable2=1[/MATH]>[/SHOWIF]>>[SHOWIF
[math]Variable1+Variable2=2[/MATH]]>Blablabla>[/SHOWIF]>>But - it would be much more convinient to use [SHOWIF condition1 AND>condition2], so I hope this is implemented but not found by me :-)>> *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Art director S-211 37 Malmoe Fax +46 40 97 99 77> Ljusa Ideer AB Sweden http://www.ljusaideer.seJohn A. Hill, V.P. Marketing *********************************Pacific Coast Software * Home of the Web's best11770 Bernardo Plaza Ct. #462 * Catalog and Merchant softwareSan Diego, CA 92128 * http://www.smithmicro.comPhone: 619-675-1106 Fax: 675-0372 *********************************
John Hill
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:
WebCat2 - Getting to the browser's username/password data (1997)
Founditems Add/remove graphic display problem (1999)
Location of Browser Info.txt file (1997)
Newbie search question (between two dates) (2001)
nested context (1998)
HTML Editors (1997)
Another question (1997)
Browser Info.txt -- newest additions? (1997)
Colors (2000)
Cancel Subscription (1996)
[WebDNA] email stops sending (2008)
docs for WebCatalog2 (1997)
[append] vs. [appendfile] delta + question? (1997)
Plugin or CGI or both (1997)
form data submission gets truncated (1997)
[WebDNA] OT: Translation Services (2008)
[SHOWIF]s and empty arguments (1997)
Cumulative Shipping charge calculations - your help please. (1997)
Configuring E-mail (1997)
tabs as delimiters (2004)