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:
Hiding URL ? (1998)
Shownext problems (1999)
Can't Update records (1997)
question: Eudora 3.1.1 (1997)
HomePage Caution (1997)
listfiles-looking for slick solution (1997)
[LOOKUP] (1997)
Re2: frames & carts (1997)
Server replication (1998)
Protecting Realms (1998)
ver 4 random crashes (2003)
Summary search -- speed (1997)
download a file (2001)
OT: MacAuthorize (2001)
[WebDNA] WebDNA7 config help (2012)
Encryption Question (2006)
Odd request (2003)
OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998)
SendMail - sending message to more than one person from (2006)
Add (1998)