detecting if var is blank?

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68360
interpreted = N
texte = I am hoping someone can tell me why this is not working: I am trying to show text and a variable only if it is actually preset and contains something. Both lines of code below produce this: abc:[myvar] Here are the two ways I have tried: 1. [showif [myvar]!]abc:[myvar] [/showif] 2. [showif [myvar]![blank]]abc:[myvar][/showif] Any ideas? Thanks! -- powerful software and services: www.eesco.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: detecting if var is blank? ( Stuart Tremain 2007)
  2. Re: detecting if var is blank? ( Scott Szretter 2007)
  3. Re: detecting if var is blank? ( Donovan Brooke 2007)
  4. Re: detecting if var is blank? ( Donovan Brooke 2007)
  5. Re: detecting if var is blank? ( "Olin Lagon" 2007)
  6. Re: detecting if var is blank? ( John Hill 2007)
  7. Re: detecting if var is blank? ( Alex McCombie 2007)
  8. Re: detecting if var is blank? ( Gary Krockover 2007)
  9. detecting if var is blank? ( Scott Szretter 2007)
I am hoping someone can tell me why this is not working: I am trying to show text and a variable only if it is actually preset and contains something. Both lines of code below produce this: abc:[myvar] Here are the two ways I have tried: 1. [showif [myvar]!]abc:[myvar] [/showif] 2. [showif [myvar]![blank]]abc:[myvar][/showif] Any ideas? Thanks! -- powerful software and services: www.eesco.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/ Scott Szretter

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:

Country & Ship-to address & other fields ? (1997) [date] problem with %d%m%Y (1998) WebCatalog for Dummies part 2 (2000) Running 2 two WebCatalog.acgi's (1996) Logging purchases (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) AutoCommit Preference? (1998) all records returned. (1997) ssl/empty cart problem (2003) page chokes on hideif when false and ignored (1998) cart info (1998) Globals Problem and now can't close databases (2003) carriage returns in data (1997) problems with 2 tags shakur (1997) Referrer field to header field conversion (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) PCS Emailer's role ? (1997) missing records (1998) 2nd Request for help/advice on variable pricing (2000) Just Testing (1997)