Showif -what am I missing???

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23494
interpreted = N
texte = Hi all-I've created a checkbox on my invoice.tpl that lets people sign up for a mailing list, using the variable AddtoList. I've checked with Formvariables, and this gets passed as T to the ThankYou.tpl page if the checkbox is checked. Here's the code on invoice.tpl: On Thankyou.tpl, I've got the following[showif AddtoList=T][include file=AddToList.txt][append db=novatalk.db]email=[email][/append][/showif]Which includes text that welcomes them to the mailing list, and appends their email address to a database that is used by the listserver (EIMS) to create the mailing list.The Showif does not show if the box is checked on invoice.tpl, and they get subscribed to the mailing list no matter what.Any ideas??? -will [tigernet technologies, inc.] L_______[www.tigernet.net] L________e-commerce specialists Associated Messages, from the most recent to the oldest:

    
  1. Re: Showif -what am I missing??? (Will Starck 1999)
  2. Re: Showif -what am I missing??? (Peter Ostry 1999)
  3. Re: Showif -what am I missing??? (josh@pop-art.com 1999)
  4. Showif -what am I missing??? (Will Starck 1999)
Hi all-I've created a checkbox on my invoice.tpl that lets people sign up for a mailing list, using the variable AddtoList. I've checked with Formvariables, and this gets passed as T to the ThankYou.tpl page if the checkbox is checked. Here's the code on invoice.tpl: On Thankyou.tpl, I've got the following[showif AddtoList=T][include file=AddToList.txt][append db=novatalk.db]email=[email][/append][/showif]Which includes text that welcomes them to the mailing list, and appends their email address to a database that is used by the listserver (EIMS) to create the mailing list.The Showif does not show if the box is checked on invoice.tpl, and they get subscribed to the mailing list no matter what.Any ideas??? -will [tigernet technologies, inc.] L_______[www.tigernet.net] L________e-commerce specialists Will Starck

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:

Multiple Newcarts (1996) Latest Version of WebDNA store (2002) [WebDNA] Error: Can't open order file. Ignoring [OrderFile] context (2011) Cookie Problems (2000) Practice runs ? (1997) Paths (1998) Refering page (1998) Refresh Database (2002) webCat craps httpd (2005) WebDNA Solutions ... sorry! (1997) Sandbox DB permissions (2005) Upgrading old WebCat Database Files (1997) Setting up WebCatalog with Retail Pro data (1996) WebCat2.0 [format thousands .0f] no go (1997) Multiple cart additions (1997) absolute paths for databases? (1997) RE: Cart Template (1997) Running a store on BOTH http and https (1998) Exclamation point (1997) OK, here goes... (1997)