Re: hiding blank fields

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50446
interpreted = N
texte = >This must be something obvious that I've missed in the docs, but I am bothered that any form variable, text variable or db field value that is empty is displayed as [nameOfFieldOrVariable] instead of simply not being displayed at all. I've tried hiding them with IF contexts but that seems to fail, too. >If you search a db and tell WebDNA display the value of [MyField], but no such field exists in the db, WebDNA will display [MyField] literally.If the value of [MyField] was literally [MyField] when it was written to the db, then the value of [MyField] is [MyField]. It is not an empty field.A called variable named [MyVariable] that has had no value set will display [MyVariable]. This applies to form variables as well as text and math variables. It's WebDNA's way of telling you that no such field exists, not that it has no value or is empty.When asking why something like this happens, always show us your relevant WebDNA code. HTML stuff isn't relevant WebDNA code.Glenn ------------------------------------------------------------- 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: hiding blank fields (Glenn Busbin 2003)
  2. Re: hiding blank fields (Donovan home EHG 2003)
  3. Re: hiding blank fields (Dave Hurley 2003)
  4. Re: hiding blank fields (Donovan home EHG 2003)
  5. Re: hiding blank fields (WJ Starck 2003)
  6. Re: hiding blank fields (Dave Hurley 2003)
  7. Re: hiding blank fields (Gary Krockover 2003)
  8. Re: hiding blank fields (Gary Krockover 2003)
  9. Re: hiding blank fields (Gary Krockover 2003)
  10. hiding blank fields (Dave Hurley 2003)
>This must be something obvious that I've missed in the docs, but I am bothered that any form variable, text variable or db field value that is empty is displayed as [nameOfFieldOrVariable] instead of simply not being displayed at all. I've tried hiding them with IF contexts but that seems to fail, too. >If you search a db and tell WebDNA display the value of [MyField], but no such field exists in the db, WebDNA will display [MyField] literally.If the value of [MyField] was literally [MyField] when it was written to the db, then the value of [MyField] is [MyField]. It is not an empty field.A called variable named [MyVariable] that has had no value set will display [MyVariable]. This applies to form variables as well as text and math variables. It's WebDNA's way of telling you that no such field exists, not that it has no value or is empty.When asking why something like this happens, always show us your relevant WebDNA code. HTML stuff isn't relevant WebDNA code.Glenn ------------------------------------------------------------- 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/ Glenn Busbin

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:

Strange Form Occurrence on Log In Pages (2005) WebCatalog NT beta 18 now available (1997) 4.5.1 download link (2003) Problems passing [SKU] with $Replace in 2.0 (1997) Limiting user access to .tmpl files (1997) Multithreading of [replace] (1999) Trouble with formula.db + more explanation (1997) E-Mail Preferences in Admin Folder (1997) Updating a database once per day - An example (1998) Information on Vieworders.tpl (1998) Plugin or CGI or both (1997) Using Applescript to process WebCatalog functions (1998) authenticating a second user (1997) Protecting databases (1999) Can't Update records (1997) For those of you not on the WebCatalog Beta... (1997) syntax question, not in online refernce (1997) Emailer help....! (1997) Cross domains Shopping Carts (2003) Followup question re: checksum for credit cards? (1997)