[SHOWIF]s and empty arguments

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13187
interpreted = N
texte = I'm playing around with getting [SHOWIF]s to work if the argument is empty, but it doesn't seem to work.For example:If I pass the URL http://www.mysite.com/CART=47646753675&STATUS=15 on to a page that has the WebDNAWelcome customer #[CART]! You are [STATUS]th in line. [SHOWIF [NAME]=]What is your name?[/SHOWIF]I want it to return:Welcome customer #47646753675! You are 15th in line. What is your name?However, the last line doesn't appear.Is this a bug or is my logic all wrong?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [SHOWIF]s and empty arguments (Trevor Crist 1997)
  2. Re: [SHOWIF]s and empty arguments (Michael Winston 1997)
  3. Re: [SHOWIF]s and empty arguments (Kenneth Grome 1997)
  4. Re: [SHOWIF]s and empty arguments (Michael Winston 1997)
  5. [SHOWIF]s and empty arguments (Michael Winston 1997)
I'm playing around with getting [showif]s to work if the argument is empty, but it doesn't seem to work.For example:If I pass the URL http://www.mysite.com/CART=47646753675&STATUS=15 on to a page that has the WebDNAWelcome customer #[cart]! You are [STATUS]th in line. [SHOWIF [NAME]=]What is your name?[/SHOWIF]I want it to return:Welcome customer #47646753675! You are 15th in line. What is your name?However, the last line doesn't appear.Is this a bug or is my logic all wrong?MichaelMichael Winston *By Phone!: (503)/652/8815 x341 Internet Coordinator *By e-mail!: michaelw@dhorse.com Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ Michael Winston

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:

Quotation Marks in Database (1998) 4.0.2b4 (2000) bug in [SendMail] (1997) OT: corrupted images (2002) Giving out error pages (1997) MacWEEK article help needed (1996) WebCatalog2 Feature Feedback (1996) WebCat2 Append problem (B14Macacgi) (1997) searching illegal HTML (2002) OT: AppleScript question (2003) Site Builder & IE Mac (2004) Unexpected error (1997) WebCatalog2 Feature Feedback (1996) Emailer Q (2002) [WebDNA] WebDNA Hosting (2009) Sendmail and attachments? (1998) Writefile help needed (2000) Feature Request -COPYRECORD (2005) RE: Renaming textA (1998) Umm...about those log files? (Off Topic) (1997)