[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:

[Announce] WebCatalog 2.1 Released (1998) determining plug-ins? (1998) Price problem (1997) WebCatalog NT beta 18 now available (1997) SSL and reg web* (1997) OT: need help with web address (2003) Word search (1997) [WriteFile] problems (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Bug (feature) in v6 listfiles shows hidden files ... (2004) [WebDNA] It's been a while so ... (2009) Sum of [founditems] ? (2004) all db's in one folder and protected (1998) Date Range works (1997) Date Formats (1997) BIG PROBLEMS with Checkboxes!!! (1998) Summing fields (1997) Hiding a subsection of text (2002) [OT] Who's got a cool link (2002) Problems passing [SKU] with $Replace in 2.0 (1997)