Re: multi condition with showif
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62871
interpreted = N
texte = Gary,Thanks for the input.Yes, I would want both conditions to be met, if nesting showif or not.Is there a shortcut within one [showif] ?I never have any luck with IF/THEN/ELSEThanks,sfbOn Aug 28, 2005, at 12:31 PM, Gary Krockover wrote:> 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.html>> Gary>> At 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/>-------------------------------------------------------------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:
Gary,Thanks for the input.Yes, I would want both conditions to be met, if nesting showif or not.Is there a shortcut within one [showif] ?I never have any luck with IF/THEN/ELSEThanks,sfbOn Aug 28, 2005, at 12:31 PM, Gary Krockover wrote:> 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.html>> Gary>> At 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/>-------------------------------------------------------------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/
sbraun
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:
[WebDNA] API Integration (2010)
[OT] JavaScript Error (2002)
webcat sendmail error - unix sendmail failed to deliver thisemail (2000)
RedHat Linux glibc version 2.1.2 or higher required (2000)
Search in 2 or more catalogs (1997)
Date Range Sorting (1997)
4.5.1 (2003)
Looking for a host (1997)
Price characteristics? (1997)
FCKeditor (2008)
MacOS X 10.2.2 (2002)
emailer w/F2 (1997)
WebTen and WebCat (1997)
Country & Ship-to address & other fields ? (1997)
encryption in browser? (1998)
Artwork (1997)
[BULK] [WebDNA] Can WebDNA corrupt a db? (2012)
Odd Cart Behavior (1997)
Aaron kant add (or whatever it was) (2000)
[WebDNA] Anyone using WebDNA7 and Lion Server? (2011)