Re: detecting if var is blank?

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68361
interpreted = N
texte = Try: [showif [myvar]!][showif [myvar]![raw][myvar][/raw]]abc:[myvar][/showif][/showif] GJK At 02:11 PM 1/25/2007, you wrote: >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! ------------------------------------------------------------- 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)
Try: [showif [myvar]!][showif [myvar]![raw][myvar][/raw]]abc:[myvar][/showif][/showif] GJK At 02:11 PM 1/25/2007, you wrote: >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! ------------------------------------------------------------- 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/ Gary Krockover

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:

Multiple Merchant Accounts? (1997) [WebDNA] Crashing again (2008) [append] and SSL (1997) $Quit, $CloseDatabase corrections (1997) [foundItems] context problem (2000) Realtime Transaction Processing (1999) Not really WebCat (1997) show all problem (1997) WebCat2b12 forgets serial # (1997) 3.0.8 PDF Manual? Do YOU have it? :) (2000) Sendmail truncation in Eudora Clients (1998) multiple search commands (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Lookup Notfound (1998) Calendar using WebCatalog? (1997) Sub Totals (2000) Post arguments problem mac? (1997) [taxRate] [TaxTotal] ? (1997) Encyption mail was Suggestions for Topics ... (1998) WebCat2: Items xx to xx shown, etc. (1997)