Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 107809
interpreted = N
texte = I don't know how it works neither :-), but it works:[math show=3DF]orderstatus=3D7[/math][hideif |5|6|^|[orderstatus]|]something else[/hideif]The syntax of the following code is at =http://www.webdna.us/page.dna?numero=3D241 and this one works fine too[if ([orderstatus]=3D5)|([orderstatus]=3D6)][then]value 5 or =6[/then][else]other value[/else][/if]- chrisOn Dec 15, 2011, at 14:31, Steve Raslevich -Northern Sound & Light =wrote:> Hello List,>=20> 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=3D179.>=20> Thank you,> Steve>=20>=20> Kenneth Grome wrote:>> [hideif |5|6|12|^|[orderstatus]|]>>=20>> [/hideif]>>=20>> This code will work fine. It will hide only exact matches=20>> when [orderstatus] is 5 or 6 or 12. It is probably more=20>> efficient than the alternate if / then / else solution.>>=20>>=20>> =20>>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us
Associated Messages, from the most recent to the oldest:
I don't know how it works neither :-), but it works:[math show=3DF]orderstatus=3D7[/math][hideif |5|6|^|[orderstatus]|]something else[/hideif]The syntax of the following code is at =http://www.webdna.us/page.dna?numero=3D241 and this one works fine too[if ([orderstatus]=3D5)|([orderstatus]=3D6)][then]value 5 or =6[/then][else]other value[/else][/if]- chrisOn Dec 15, 2011, at 14:31, Steve Raslevich -Northern Sound & Light =wrote:> Hello List,>=20> 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=3D179.>=20> Thank you,> Steve>=20>=20> Kenneth Grome wrote:>> [hideif |5|6|12|^|[orderstatus]|]>>=20>> [/hideif]>>=20>> This code will work fine. It will hide only exact matches=20>> when [orderstatus] is 5 or 6 or 12. It is probably more=20>> efficient than the alternate if / then / else solution.>>=20>>=20>> =20>>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us
christophe.billiottet@webdna.us
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:
FW: 2.01 upgrade problems (1997)
Stopping bad HTML propagation ? (1997)
Dynamic PDFs? (2004)
Shopping Cart Best Practices (2006)
Conveting Characters to Graphics (1997)
WebCat2b12 - New features for 1.6 users ... (1997)
[WriteFile] problems (1997)
wc 2 pro users - sites, quotes wanted (1997)
Just a thought (1998)
RE: IIS 4 (1998)
View order not right (1997)
show all problem (1997)
[WebDNA] v7 Stress Test and Strange Behaviour (2012)
Search Engine questions ... (2002)
On AOL Account Security: Fwd: POSSIBLE PROBLEMS FOR AOL USERS (1998)
textarea question (1998)
WC1.6 to WC2 date formatting (1997)
Lost and Recovered. (1998)
Same DB Same Time (2004)
Help HTML reader (1999)