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:
WebCat2b12--[searchstring] bug (1997)
SET and C-SET (1998)
WebCatalog can't find database (1997)
encrypt (2000)
WebDNA 4.5.1 Now Available (2003)
math a various prices (1997)
question: webmerchant connection (1997)
WC1.6 to WC2 date formatting -FIXED! (1997)
Locking up with WebCatalog... (1997)
Multiple prices (1997)
[sendmail] on NT? (1997)
Re:Help name our technology! (1997)
Include Troubles (1998)
Strange ThisURL under Linux (2000)
[WebDNA] Error. WebDNA (version 5.1g or later) is not running. (2013)
Download capabilities (1997)
SKU lookup (1997)
international time (1997)
calculating ShipCost depending on weight (1997)
Shopping carts and reloading pages (1997)