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:
Forms Search Questions (1997)
Need some extra eyes (2003)
Email notification to one of multiple vendors ? (1997)
replace urgent!!!! (2001)
Re:no [search] with NT (1997)
[OT] FTP client (2003)
cart (1997)
ISP Billing Software (2001)
Re:Emailer and encryption (1997)
Creditcard verification with WebCat (1998)
wee problem (2001)
using [URL] in search parameters? (1999)
HTTP header line is too long? (1997)
Server slowing down. (1997)
HELP-1!!! (1998)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Bug or syntax error on my part? (1997)
Shipping charges depending on tax rate? (1997)
Re:Emailer and encryption (1997)
Username/Password with [Protect] (2000)