Re: Showif -what am I missing???

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23495
interpreted = N
texte = You need to bracket [addtolist]JoshAt 11:36 AM 2/9/99 -0600, you wrote: >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 > > > > --------------------------------------------------------------------------- Joshua Blank Pop Art LLC http://pop-art.com josh@pop-art.com eCommerce / Web Design / Multimedia7000 SW Hampton St. tel: (503) 968.5957 Suite 124 fax: (503) 620.8487 Portland, OR 97223-8361 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)
You need to bracket [addtolist]JoshAt 11:36 AM 2/9/99 -0600, you wrote: >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 > > > > --------------------------------------------------------------------------- Joshua Blank Pop Art LLC http://pop-art.com josh@pop-art.com eCommerce / Web Design / Multimedia7000 SW Hampton St. tel: (503) 968.5957 Suite 124 fax: (503) 620.8487 Portland, OR 97223-8361 josh@pop-art.com

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:

writing orders to a db (1997) WebCatalog 4.0.2rc1 and rc2 crash WebSTAR on quit (2001) WC Database Format (1997) Weird problems with [SHOWIF]s (1997) Lets make a deal (2000) Logical and or in [hideif] (1997) syntax question, not in online refernce (1997) CMS - Formatting Content (2004) Search and path arguments (1998) Encryption method used for [encrypt]? (2000) Netscape 3.01 can't see db in form (1997) Webcat Security (1998) showif and cart (1997) [Ignore] Test (2002) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) RE: type 2 errors with ssl server (1997) billing system (2003) [WebDNA] 2nd pair of eyes on redirect please (2011) survey builder code (2003) Newbie questions (1999)