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:

[defined]ish (1997) Verifying SSL on Page (2002) Mac 3.0.5b11 PI -- template cache and aliases (1999) [WebDNA] [WebDNA] WebDNA Host being retired (2014) Truncated value after space - refresh my memory.... (1997) Email (1998) two unique banners on one page (1997) How do you hide [math]stuff[/math] (1997) InternetWeek E-Commerce article (1998) Protect (1997) send mail problem? (1997) emailer w/F2 (1997) 'page impression' techniques for banner ads (1999) Newbie needs advice to learn to use WebDNA (2003) A Global Variable (1997) [off] Promotions/ECRC (1997) template includes encrypted template (1999) [WebDNA] Domain upgrade questions (2009) [Listfiles] vs Netfinder (1997) Separate SSL Server (1997)