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] - chris On 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:

    
  1. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Govinda 2011)
  2. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Donovan Brooke 2011)
  3. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Steve Raslevich -Northern Sound 2011)
  4. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Kenneth Grome 2011)
  5. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (christophe.billiottet@webdna.us 2011)
  6. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Govinda 2011)
  7. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (christophe.billiottet@webdna.us 2011)
  8. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (christophe.billiottet@webdna.us 2011)
  9. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Govinda 2011)
  10. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Donovan Brooke 2011)
  11. Re: [WebDNA] SEARCH question - SHOWIF - HIDEIF question (Steve Raslevich -Northern Sound 2011)
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] - chris On 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:

Grant, please help me ... (1997) Multiple 'Users.db' files not possible (1997) Sorting Results (1999) Time/date formatting %X doesn't work ... (1997) Giving out error pages (1997) PCS Customer submissions ? (1997) all records returned. (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WebCat2: Items xx to xx shown, etc. (1997) SSL and reg web* (1997) WebCat2_Mac RETURNs in .db (1997) [WebDNA] eCommerce in 7.0 but not in 7.1? (2012) [taxRate] [TaxTotal] ? (1997) webCatalog and Stocks (1998) Emailer (WebCat2) (1997) code to phantom spacing (2001) ImageMagick (2005) mac os HOG? (2001) Forwarding Orders Via Email (1998) Search results templates (1996)