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 nocomparison 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 & DevelopmentSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 *******************************619.675.1106** PGP key available upon request. **
Associated Messages, from the most recent to the oldest:
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 nocomparison 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 & DevelopmentSuite 453 | http://www.smithmicro.comSan 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:
Locking up with WebCatalog... (1997)
WC2b15 File Corruption (1997)
Buying sans cart (1997)
Formulas and Multiple Prices (2000)
Fun with dates (1997)
Using [Showif] tag. Mac (1997)
formula??? (2000)
Single Link browsing (1997)
[protect] on NT? (1997)
Getting total number of items ordered (1997)
Solve the Problem, get the code! (2001)
WebCatalog can't find database (1997)
ListFiles and .DS_Store (2004)
Uh...can someone help me out with the b10? (1997)
HideIf ip= OR ip= (1998)
2 HTTP Servers on one machine (2006)
Universal root for WC errors? (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Return records from another (1997)
3RD POST Character limit in [Search]? (1998)