Re:Part 2 - [showif] if variable exists

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20340
interpreted = N
texte = 2 quick points. - your syntax looks flawed - [ShowIf [wogroup1datarq]![raw][wogroup1datarq][/raw][wogroup1datarq][/ShowIf] should be [ShowIf [url][wogroup1datarq][/url]![raw][wogroup1datarq][/raw][wogroup1datarq]][/ShowIf ]The corrections has 2 things... - proper nesting for the showif - url of the left side of the comparison - will make sure that there are no comparison operators in the wogroup1datarq...>I had asked about how I could show something if a certain variable >exists. Thanks for you response. I used the following and it worked: >[ShowIf [wogroup1datarq]![raw][wogroup1datarq][/raw]]Your fancy stuff >here![/ShowIf] > >The problem is that I would like your fancy stuff here! to actually >equal the content of [wogroup1datarq] > >So I tried this: >[ShowIf >[wogroup1datarq]![raw][wogroup1datarq][/raw][wogroup1datarq][/ShowIf] >but this does not work. How can I get the variable to show and to be >filled in by the value of the variable submitted only if it actually >exists. >Any suggestions? >Thanks again.Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106** PGP key available upon request. ** Associated Messages, from the most recent to the oldest:

    
  1. Re:Part 2 - [showif] if variable exists (Kenneth Grome 1998)
  2. Re:Part 2 - [showif] if variable exists (Jay Van Vark 1998)
2 quick points. - your syntax looks flawed - [ShowIf [wogroup1datarq]![raw][wogroup1datarq][/raw][wogroup1datarq][/ShowIf] should be [ShowIf [url][wogroup1datarq][/url]![raw][wogroup1datarq][/raw][wogroup1datarq]][/ShowIf ]The corrections has 2 things... - proper nesting for the showif - url of the left side of the comparison - will make sure that there are no comparison operators in the wogroup1datarq...>I had asked about how I could show something if a certain variable >exists. Thanks for you response. I used the following and it worked: >[ShowIf [wogroup1datarq]![raw][wogroup1datarq][/raw]]Your fancy stuff >here![/ShowIf] > >The problem is that I would like your fancy stuff here! to actually >equal the content of [wogroup1datarq] > >So I tried this: >[ShowIf >[wogroup1datarq]![raw][wogroup1datarq][/raw][wogroup1datarq][/ShowIf] >but this does not work. How can I get the variable to show and to be >filled in by the value of the variable submitted only if it actually >exists. >Any suggestions? >Thanks again.Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106** PGP key available upon request. ** Jay Van Vark

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:

docs for WebCatalog2 (1997) no word on MacAuthorize... (1997) Is there an easier way? (1998) PSC recommends what date format yr 2000??? (1997) re: Default contains WEBDNA (1998) How Many SKU's is enough? (1997) Forbidden CGI Error (1997) Email Newsletters (2003) Paths change questions ... (2004) WC2f3 (1997) PCS Frames (1997) WebCatalog2 for NT Beta Request (1997) WebCat2final1 crashes (1997) Too Much Info (1998) Re:2nd WebCatalog2 Feature Request (1996) more on my bbs (1997) move files (2000) Appending space (1998) Re[2]: OT: Amazon Patents (2000) Snake Bites (1997)