Re: Showif, Hideif reverse logic ?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10297
interpreted = N
texte = > [showif [CANEMAIL]=T]Can EmailYes[/showif]This looks fine, but make absolutely sure the database actually contains both 'T' and 'F'. If it contains 'T' and '' (blank) then your logic may not work the way you think it should.Experiment with [CANEMAIL]=T vs. [CANEMAIL]!T (showif for both)Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif, Hideif reverse logic ? (Grant Hulbert 1997)
  2. Showif, Hideif reverse logic ? (Sven U. Grenander 1997)
> [showif [CANEMAIL]=T]Can EmailYes[/showif]This looks fine, but make absolutely sure the database actually contains both 'T' and 'F'. If it contains 'T' and '' (blank) then your logic may not work the way you think it should.Experiment with [CANEMAIL]=T vs. [CANEMAIL]!T (showif for both)Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Anyone have an invoicing system? (2000) wrong authentication (1998) Hosts who have upgraded to v5.0? (2003) Nested tags count question (1997) [HIDEIF] inside [FOUNDITEM] (1997) Itools, WEBCAT OSX (2003) Parameter Problem ATTN: Ken Grome (1998) Last Day of the Month (2005) unsubscribe (1997) Apache suffix mapping for .tpl (2000) Dynamic Pop up menu? (1997) Problem Transferring Variable Values (1998) WebCommerce: Folder organization ? (1997) No answers by SM? (2000) Running 2 two WebCatalog.acgi's (1996) using showpage and showcart commands (1996) MS Access data conversion (2001) Running 2 two WebCatalog.acgi's (1996) Re:Email Problem (1997) Enterprise Server (1998)