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:

select multiple (1997) Authorizenet and expiration dates (2002) Another new bug found ... (2000) NT or Mac (1998) Unexpected error (1997) [append] (1997) Setting up shop (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) [WebDNA] Triggers.db wiped completely blank (2011) SiteEdit NewFile.html ? (1997) [WebDNA] Digest from talk@webdna.us (2018) [quantity] within formulas (1997) Is someone's computer clock set wrong? (2000) [sendmail] questions... (1997) WebCat2: Formulas.db question (1997) $purchase vs [purchase] (1999) Event Calendar (2004) Comments in db? (1997) problems with 2 tags (1997) textarea inputs and returns (1999)