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:

[cart] (1998) WebCat2b15MacPlugin - showing [math] (1997) form data submission gets truncated (1997) Trouble with formula.db + more explanation (1997) WebMerchant when CC network is down (1998) Apple event reply error (-1) (1997) Custom Shipping Charges (1997) James Hawker (1998) Search for starts with and ends with? (2003) sendmail error (1997) Download URL & access on the fly ? (1997) Passing a search through a form (2003) California Tax Rates (1998) Almost a there but..bye bye NetCloak (1997) Problem with [Search] inside of [Loop]? (1997) typhoon... (1997) date tag not interpreted (2000) Tracking (2004) webcatalog [date] bug...not (1999) Question on the sandbox (2003)