Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107806
interpreted = N
texte = This is a multi-part message in MIME format.--------------070803070606040108050408Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHello List,Would someone be kind enough to explain the HIDEIF syntax below? I'm not following the use of all the pipes "|" and I can't find any example or explanation on the WebDNA Tech Ref page for [hideif]. http://www.webdna.us/page.dna?numero=179.Thank you,SteveKenneth Grome wrote:> [hideif |5|6|12|^|[orderstatus]|]>> [/hideif]>> This code will work fine. It will hide only exact matches > when [orderstatus] is 5 or 6 or 12. It is probably more > efficient than the alternate if / then / else solution.>>> --------------070803070606040108050408Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit
Hello List,
Would someone be kind enough to explain the HIDEIF syntax below? I'mnot following the use of all the pipes "|" and I can't find any exampleor explanation on the WebDNA Tech Ref page for [hideif].http://www.webdna.us/page.dna?numero=179.
Thank you,
Steve
Kenneth Grome wrote:
[hideif |5|6|12|^|[orderstatus]|][/hideif]This code will work fine. It will hide only exact matches when [orderstatus] is 5 or 6 or 12. It is probably more efficient than the alternate if / then / else solution.
--------------070803070606040108050408--
Associated Messages, from the most recent to the oldest:
This is a multi-part message in MIME format.--------------070803070606040108050408Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bitHello List,Would someone be kind enough to explain the HIDEIF syntax below? I'm not following the use of all the pipes "|" and I can't find any example or explanation on the WebDNA Tech Ref page for
[hideif]. http://www.webdna.us/page.dna?numero=179.Thank you,SteveKenneth Grome wrote:> [hideif |5|6|12|^|[orderstatus]|]>> [/hideif]>> This code will work fine. It will hide only exact matches > when [orderstatus] is 5 or 6 or 12. It is probably more > efficient than the alternate if / then / else solution.>>> --------------070803070606040108050408Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: 7bit
Hello List,
Would someone be kind enough to explain the HIDEIF syntax below? I'mnot following the use of all the pipes "|" and I can't find any exampleor explanation on the WebDNA Tech Ref page for [hideif].http://www.webdna.us/page.dna?numero=179.
Thank you,
Steve
Kenneth Grome wrote:
[hideif |5|6|12|^|[orderstatus]|][/hideif]This code will work fine. It will hide only exact matches when [orderstatus] is 5 or 6 or 12. It is probably more efficient than the alternate if / then / else solution.
--------------070803070606040108050408--
Steve Raslevich -Northern Sound
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:
WebCat B13 Mac CGI -- Frames question (1997)
Great product and great job ! (1997)
Is the time limited demo still available? (2002)
[HIDEIF] inside [FOUNDITEM] (1997)
javascript popup (2005)
Looping control (1997)
RE: [WebDNA] Basic Search (2008)
WC2b12: Yes, Formulas.db is for real (1997)
Requiring that certain fields be completed (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Order not created error (1997)
For those of you not on the WebCatalog Beta... (1997)
Clear command and ShoppingCart.tmpl (1997)
Formulas.db (2001)
[WebDNA] [OT] Google redirect or not (2014)
[WebDNA] shopping sites and the "old commerce tags" (2012)
Virtual Postcard almost complete... (1998)
Kaaaaahhhhhhhnnnnnnn! (1997)
Database field limit? (1998)
RE: Major Security Hole IIS NT (1998)