Re: SHOWIF/HIDEIF empty fields
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61889
interpreted = N
texte = FrankIf your field 'FIELD' contains ! then the way that you have written your showif will not work.WebDNA then sees [ShowIf myfield!=]When you expand this out it says ShowIf myfield does not equal equals [blank]For your ShowIf to work consistently it must he written:[ShowIf [URL][FIELD][/URL]=]On 01/05/2005, at 12:49 AM, Frank Nordberg wrote:> Here's something that really puzzles me.>> In theory there are two methods if you want to show a text block only > if a given database field has content:>> [SHOWIF [FIELD]=]{text block}[/SHOWIF]> or> [HIDEIF [FIELD]?]{text block}[/HIDEIF]>> However, I've found that both don't always work. Sometimes the first > one works while the second one doesn't, in other apparently identical > circumstances it's the other way round. Crazily enough there doesn't > seem to be any system to it so the only way to find out which one > works is to try both.>> Does anybody have an idea why WebDNA acts like this?>>>>> Frank Nordberg> http://www.musicaviva.com>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
FrankIf your field 'FIELD' contains ! then the way that you have written your showif will not work.WebDNA then sees [ShowIf myfield!=]When you expand this out it says ShowIf myfield does not equal equals [blank]For your ShowIf to work consistently it must he written:[ShowIf [url][FIELD][/URL]=]On 01/05/2005, at 12:49 AM, Frank Nordberg wrote:> Here's something that really puzzles me.>> In theory there are two methods if you want to show a text block only > if a given database field has content:>> [SHOWIF [FIELD]=]{text block}[/SHOWIF]> or> [HIDEIF [FIELD]?]{text block}[/HIDEIF]>> However, I've found that both don't always work. Sometimes the first > one works while the second one doesn't, in other apparently identical > circumstances it's the other way round. Crazily enough there doesn't > seem to be any system to it so the only way to find out which one > works is to try both.>> Does anybody have an idea why WebDNA acts like this?>>>>> Frank Nordberg> http://www.musicaviva.com>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/>>RegardsStuart Tremainidfk web developments114a/40 yeo street neutral bay 2089 australiat +612 9908 2134f +612 9908 4837-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Stuart Tremain
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 - New features for 1.6 users ... (1997)
[BULK] [WebDNA] [BULK] 7.x and 6.x on same server (2012)
[WebDNA] Yosemite (2014)
emailer setup (1997)
f2 download problems (1997)
encrypt (2000)
time and welcome (1999)
Logging purchases (1997)
Hard Questions ? (1997)
CC Merchant suggestions?? (1997)
Field names beginning with Reg.. (2002)
quantity minimum problem (1997)
RE: [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010)
Authenticate (1999)
WebCat2final1 crashes (1997)
WebCat B13 Mac CGI -- Frames question (1997)
[WebDNA] bots continually create shoppingcart files (2018)
WebCat2 - [format thousands] (1997)
Re:Emailer and encryption (1997)
Using WC for Bulk Emailings (1997)