Quick ShowIf question
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13174
interpreted = N
texte = I'm trying to write a [ShowIf] context that will check to see if a givenvariable has been assigned a value, and if it has, to display a messageusing that value. Otherwise, it will still be [somevariable], right?Just like the cart shows up as [cart] before it has been assigned.So will the following syntax work?[ShowIf [somevariable]![somevariable]]The variable somevariable hasbeen assigned the value of [somevariable].[/ShowIf]-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (908) 469-2567 ** 429 St. Giles Court * FAX: (908) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Associated Messages, from the most recent to the oldest:
I'm trying to write a
[showif] context that will check to see if a givenvariable has been assigned a value, and if it has, to display a messageusing that value. Otherwise, it will still be [somevariable], right?Just like the cart shows up as
[cart] before it has been assigned.So will the following syntax work?[ShowIf [somevariable]![somevariable]]The variable somevariable hasbeen assigned the value of [somevariable].[/ShowIf]-- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (908) 469-2567 ** 429 St. Giles Court * FAX: (908) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Gil Poulsen
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:
[what] [am] [I] [missing]? (2003)
Sending PGP Mail from WebCatalog (2000)
PCS Frames (1997)
Running _every_ page through WebCat-error.html (1997)
Excuse me for a second (2000)
Stumped (1999)
Bug Report, maybe (1997)
Sorting by date (1997)
Showif, Hideif reverse logic ? (1997)
[WebDNA] =?windows-1252?Q?Re=3A_=5BWebDNA=5D_Re=3A_=5BWebDNA=5D_=5BWebDNA=5D_Re=3A_=5BWebDNA=5D_=5BWeb?= (2012)
Multiple fields on 1 input (1997)
Error: the 'showcart' command requires that you specify a db (1997)
webdelivery.html and webna (1997)
Data Entry ... Excel Style ... How To? (2001)
summ=T (2003)
[WebDNA] Encode cookies ONLY via "method=Base64" (2008)
Stopping bad HTML propagation ? (1997)
emailer (1997)
Sorry WebCatalog server not running. (2002)
WebDNA's current version? (2003)