Re: multi condition with showif
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62870
interpreted = N
texte = Hi Stephen,You'll have problems with nesting because remember, the 1st condition must be met before it even gets to the 2nd condition so the "or" factor isn't an option. Use an IF/THEN/ELSE, much cleaner:http://webdna.smithmicro.com/ref/pages.html?context=IfContext.htmlGaryAt 11:12 AM 8/28/2005, you wrote:>Hi All,>Can a [showif] command have more than one condition or must they be nested to function?>If so, then how?>>ex: [showif [conditionA]=1 and [conditionB]=1]>code,code,code>[/showif]>>or>>[showif [conditionA]=1]>[showif [conditionB]=1]>code,code,code>[/showif]>[/showif]>>Thanks for any insight.>>Stephen F Braun>sbraun1@twcny.rr.com-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi Stephen,You'll have problems with nesting because remember, the 1st condition must be met before it even gets to the 2nd condition so the "or" factor isn't an option. Use an IF/THEN/ELSE, much cleaner:http://webdna.smithmicro.com/ref/pages.html?context=IfContext.htmlGaryAt 11:12 AM 8/28/2005, you wrote:>Hi All,>Can a [showif] command have more than one condition or must they be nested to function?>If so, then how?>>ex: [showif [conditionA]=1 and [conditionB]=1]>code,code,code>[/showif]>>or>>[showif [conditionA]=1]>[showif [conditionB]=1]>code,code,code>[/showif]>[/showif]>>Thanks for any insight.>>Stephen F Braun>sbraun1@twcny.rr.com-------------------------------------------------------------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://webdna.smithmicro.com/
Gary Krockover
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:
A little help on e-mail (HELP!!! :-) ) (1998)
Emailer Error 550 (Was Strange Crash) (1998)
[WebDNA] tag [validcard] fails on webdna 7.0. Do I need the commerce edition? (2011)
[WebDNA] v.7 and eCommerce (2012)
View Source from cache (1997)
Auto entering Friday's date in a field (2002)
PROBLEM (1997)
Speed Optimization - Mac (1997)
Summary layout (1997)
RE: [WebDNA] Styling search results [using css] (2009)
Looking for someone to double check my code... (1999)
[ShowNext] (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
AJAX with WebDNA (2006)
suffix mapping for NT? (1997)
[CART] inside a [LOOP] (1997)
Giving out error pages (1997)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
First postarg not taking in $Commands (1997)
access denied problem (1997)