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:
Too Much Rootbeer Free Offer (1997)
[ShowIf] a either fields are blank (1998)
Search Questions (2000)
View order not right (1997)
GuestBook example (1997)
date sorting and 'template (1997)
Email check problems -1 (1999)
Forcing a NEWCART (1997)
[format 40s]text[/format] doesn't work (1997)
Emailer (1997)
Is this possible, WebCat2.0 and checkboxes (1997)
WebDelivery sweep speed (was ) (2000)
Text data with spaces in them... (1997)
Just Testing (1997)
$Append for Users outside the ADMIN group (1997)
[WebDNA] Two file tags don't work as expected (2009)
Renaming TextA (1998)
latest version? (1998)
Newbie search question (between two dates) (2001)
Apache2 connector (2003)