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 than some 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.se John A. Hill, V.P. Marketing ********************************* Pacific Coast Software * Home of the Web's best 11770 Bernardo Plaza Ct. #462 * Catalog and Merchant software San Diego, CA 92128 * http://www.smithmicro.com Phone: 619-675-1106 Fax: 675-0372 ********************************* Associated Messages, from the most recent to the oldest:

    
  1. Re: [SHOWIF AND/OR] (Christer Olsson 1997)
  2. Re: [SHOWIF AND/OR] (Grant Hulbert 1997)
  3. Re: [SHOWIF AND/OR] (John Hill 1997)
  4. [SHOWIF AND/OR] (Christer Olsson 1997)
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 than some 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.se John A. Hill, V.P. Marketing ********************************* Pacific Coast Software * Home of the Web's best 11770 Bernardo Plaza Ct. #462 * Catalog and Merchant software San Diego, CA 92128 * http://www.smithmicro.com Phone: 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:

special commerce fields (1997) all records returned. (1997) Bug? (1997) Text limits in NT version? (1997) WebCat2 Append problem (B14Macacgi) (1997) Formulas.db (2003) Some Questions (1997) hyperlinking unique input strings on the fly when displayingin HTML (2000) shortening the cart (1998) Threaded Discussion (1998) Practice runs ? (1997) [WebDNA] WebDNA 8.6 announced - New features (2018) Sherlock plug-in? (1999) Security Question (1997) Friendly , quick 'security' check, please (2003) How to Sort Summ data ? (1997) Listfiles on network with NT (2000) Zeroing out shipping costs (2000) [OT] DNS Problems (2004) Calendar (1997)