Re: [SHOWIF]s and empty arguments

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13204
interpreted = N
texte = Michael Winston wrote:> If I pass the URL http://www.mysite.com/CART=47646753675&STATUS=15 > on to a page that has the WebDNA > > Welcome 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? You are not passing any sort of value from the previous page to stand in for [Name]. If you made your URL http://www.mysite.com/CART=47646753675&Name=&STATUS=15 it should work. Instead, WC is trying to interpret [NAME] as text rather than a value. (In this case ) -- Trevor Crist Production Manager Digital Frontier Stowe, Vermont http://www.digitalfrontier.com tcrist@digitalfrontier.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)
Michael Winston wrote:> If I pass the URL http://www.mysite.com/CART=47646753675&STATUS=15 > on to a page that has the WebDNA > > Welcome 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? You are not passing any sort of value from the previous page to stand in for [Name]. If you made your URL http://www.mysite.com/CART=47646753675&Name=&STATUS=15 it should work. Instead, WC is trying to interpret [NAME] as text rather than a value. (In this case ) -- Trevor Crist Production Manager Digital Frontier Stowe, Vermont http://www.digitalfrontier.com tcrist@digitalfrontier.com Trevor Crist

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:

Maybe off topic but how to charge (1997) Convertchars Problem (2004) forms and variables (1998) NetSplat and WebCat2 (1997) Slow Server (2005) The code, one more time. (2003) Enhancement Request for WebCatalog-NT (1996) Date Range Search not working (2000) Missing / in generated url (2006) Fun with dates (1997) no global [username] or [password] displayed ... (1997) Make sure I understand this??? (1997) Rhapsody? (1997) PHP vs WebCatalog (2000) Sorting Numbers (1997) Bug when including a db file ... ? (2000) Multiple cart additions (1997) WebCatalog can't find database (1997) my price won't move (1997) Digger URLs ... (2004)