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:
notification solutions (1997)
Colors (2000)
Associative lookup style? + bit more (1997)
Formulas.db + Users.db (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
SQL Error: 00000 (2004)
Question About XML Style Syntax (2000)
PCS Frames-Default page is solution! (1997)
Line items in table cells (1997)
Disappearing HTML/WebDNA (1998)
Return records from another (1997)
Textarea (1998)
WebCat editing, SiteGuard & SiteEdit (1997)
WC2.0 Memory Requirements (1997)
Error Log.db --however (1997)
Denying access by IP address (2000)
shipcost (1997)
WebDNA Solutions ... sorry! (1997)
Serving images from databases (1998)
Append..... doesn't (2000)