Re: ShowIf variables

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12227
interpreted = N
texte = >Is there a way to set set up the [ShowIf] tag as an or statement? > >As in [ShowIf [NumFound]=3 0r 7] >Not possible, but you can do repeated showif's. And if needed you can do nested showif's. Meet condition 1 then meet condition 2 before showing what you want. Your request needs repeated showif's like this....[showif [numfound]=3] what you what to display if numfound =3 [/showif] [showif [numfound]=7] what you what to display if numfound =7 [/showif] =============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. ShowIf variables (Trevor Crist 1997)
  2. Re: ShowIf variables (Christer Olsson 1997)
  3. Re: ShowIf variables (grichter@panavise.com (Gary Richter) 1997)
>Is there a way to set set up the [showif] tag as an or statement? > >As in [ShowIf [NumFound]=3 0r 7] >Not possible, but you can do repeated showif's. And if needed you can do nested showif's. Meet condition 1 then meet condition 2 before showing what you want. Your request needs repeated showif's like this....[showif [numfound]=3] what you what to display if numfound =3 [/showif] [showif [numfound]=7] what you what to display if numfound =7 [/showif] =============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

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:

trying to filter out various words from user entered text (2004) HTML encoding in URLs (1997) Looping through all records (2000) [OT] IANA Special Use (2004) Updating a database once per day - An example (1998) Add to Cart & List of Products (1997) SSL do I need it?? (1998) CERT Advisory on malicious scripts (2000) Correction: shipCost (2000) RE: Languages (1997) question: webdelivery folder and file (1997) Cart Question: The Epic Saga (1998) BUG in [showif] using ^ (contains) (1997) Deleting Orders (1997) Separate SSL Server (1997) [WebDNA] preventing hackers from posting their own (2009) WebCat2 several catalogs? (1997) [SHOWIF] (1997) WebCatalog Technical Reference (1997) Running 2 two WebCatalog.acgi's (1996)