What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: SHOWIF/HIDEIF empty fields

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61880
interpreted = N
texte = Your syntax is screwed up. What's that question mark doing in your hideif? A question mark is not a comparison operator. You might try fixing that problem first, before you make any more incorrect assumptions. WebDNA does not work the way you're describing when your syntax is correct. By the way, you should [url] your [field] value in both examples below if you really want to insure that your showif's and hideif's will work properly all the time. Sincerely, Kenneth Grome www.kengrome.com On Apr 30, 2005, at 22:49, 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/ > > ------------------------------------------------------------- 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:

    
  1. Re: SHOWIF/HIDEIF empty fields ( Terry Wilson 2005)
  2. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  3. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  4. Re: SHOWIF/HIDEIF empty fields ( Lester 2005)
  5. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  6. Re: SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
  7. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  8. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  9. Re: SHOWIF/HIDEIF empty fields ( Bob Minor 2005)
  10. Re: SHOWIF/HIDEIF empty fields ( "WebDna @ Inkblot Media" 2005)
  11. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  12. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  13. Re: SHOWIF/HIDEIF empty fields -- OOPS ( Gary Krockover 2005)
  14. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  15. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  16. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  17. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  18. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  19. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  20. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  21. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  22. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  23. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  24. Re: SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
  25. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  26. SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
Your syntax is screwed up. What's that question mark doing in your hideif? A question mark is not a comparison operator. You might try fixing that problem first, before you make any more incorrect assumptions. WebDNA does not work the way you're describing when your syntax is correct. By the way, you should [url] your [field] value in both examples below if you really want to insure that your showif's and hideif's will work properly all the time. Sincerely, Kenneth Grome www.kengrome.com On Apr 30, 2005, at 22:49, 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/ > > ------------------------------------------------------------- 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/ Kenneth Grome

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:

Searching multiple Databases (1997) BUG REPORT: numeric ge, le, gr & ls comparisons don't work (1999) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) local IIS setup (2004) Webcat2, WebCommerce, Mod 10 etc. (1997) Stopping bad HTML propagation ? (1997) Practice runs ? (1997) Inconsistent Code (2006) Emailer (1997) Password Authentication - request example (1998) WebDNA Quitting (2008) Problems getting parameters passed into email. (1997) WC2b12: Yes, Formulas.db is for real (1997) WebCatalog Upgrade Pricing? (1997) Character limit in [Search]? (1998) Memory Error message (1998) Roundup function? (1997) Mauthcapture vs mauthonly (2002) Math Context (1998) OK, here goes... (1997)