Re: [WebDNA] Check if variable is blank or is raw or third condition

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105135
interpreted = N
texte = > Still a > little confused as to why there is an extra pipe next to the hideif that first double pipe is not extra.. it is there to account for the case where [t_username] = [blank] (i.e. null, zero chars in length) ..imagine [t_username] was set to [blank].. would the [hideif] do its job of hiding? It only does on account of that double pipe at the start of the comparison. Try sticking in each of the 3 vals you wanted to check for, wherever you have [t_username] in that comparison,.. and parse it out in your head.. is the statement true or not? ------------ Govinda govinda.webdnatalk@gmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Check if variable is blank or is raw or third condition (Govinda 2010)
  2. Re: [WebDNA] Check if variable is blank or is raw or third condition (Mike Sargent 2010)
  3. Re: [WebDNA] Check if variable is blank or is raw or third condition (Kenneth Grome 2010)
  4. Re: [WebDNA] Check if variable is blank or is raw or third condition (Donovan Brooke 2010)
  5. Re: [WebDNA] Check if variable is blank or is raw or third condition (Govinda 2010)
  6. [WebDNA] Check if variable is blank or is raw or third condition (Mike Sargent 2010)
> Still a > little confused as to why there is an extra pipe next to the hideif that first double pipe is not extra.. it is there to account for the case where [t_username] = [blank] (i.e. null, zero chars in length) ..imagine [t_username] was set to [blank].. would the [hideif] do its job of hiding? It only does on account of that double pipe at the start of the comparison. Try sticking in each of the 3 vals you wanted to check for, wherever you have [t_username] in that comparison,.. and parse it out in your head.. is the statement true or not? ------------ Govinda govinda.webdnatalk@gmail.com Govinda

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:

Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Limit on nested [ShowIf]'s? (1997) Separate SSL Server (1997) WriteFile wrong format (2003) Opinion: [input] should be called [output] ... (1997) Almost a there but..bye bye NetCloak (1997) IIS4b2 and WebCatalog b19 (1997) Still Stumped on ShowNext...HELP! (1997) (OT) Dual 2GHz G5 (2003) Webcatalog quitting (1997) Re:Variable Math (1998) Word wrapping (1997) frames & carts (1997) Setting up WebCatalog with Retail Pro data (1996) Searching multiple Databases (1997) Bug Report, maybe (1997) [WriteFile] problems (1997) Searching multiple fields (1997) merchant accts. (1997) form crasehes server (1997)