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 Email | Yes |
[/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 WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
> [showif [CANEMAIL]=T]
Can Email | Yes |
[/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 WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan 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:
Re:HTTP header line is too long? (1997)
build a select list from a db search (2004)
Serious bug writing to a database ... (2002)
Safe command=append (1999)
[WebDNA] API - YouTube (2011)
Generating Report Totals (1997)
Looking for WebDNA calendar (2004)
[getchars] questions (1997)
I'm new be kind (1997)
db merge problem (2002)
Empty fields delete-able? (2000)
Sendmail truncation in Eudora Clients (1998)
Working Days (2004)
[OT] Movie (2002)
ReturnRaw context (1997)
WebCatalog NT beta 18 problem (1997)
Wonderin' whats the way (1998)
WebCatalog Beta Documentation (1997)
The beginning (1997)
[WebDNA] grep question (2009)