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:
multi-paragraph fields (1997)
NT vs Mac (1997)
Frames and WebCat (1997)
Re:PCS Customer submissions ? (1997)
[Announce]: Web server security and password protection (1997)
Re2: frames & carts (1997)
emailer truncates last letter! (1997)
notification solutions (1997)
Are you an WC expert? (1997)
Converting back to numerical date (2003)
Shopping problems with 2.1b3 acgi (1997)
attn: smitmicro - cart limitation (2002)
Showif ^ (2000)
I need hosting (2003)
[searchString] (1997)
HTML Editors (1997)
[append] vs. [appendfile] delta + question? (1997)
dos bug? (1999)
credit card question (simple) (2001)
tracking no. of downloads (2006)