RE: error count with $purchase

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13514
interpreted = N
texte = Kevin ->I am trying to do a situation for my thanyou page, to >make sure that the require fields of address, phone number etc are inputed. >Members of my team have complained that the reqfield error page that is >returned, is not sufficient enough. >However, when the $purchase command is done, it automatically checks the >credit card number and sends email via webmerchant, regardless of what has >been done via . >Is there anyway to stop webmerch from doing this?If you're going to be doing your own custom error checking, use the [purchase] tag on the ThankYou.tmpl page instead of the $purchase command. If you use the command, the cart is purchased first, before the WebDNA on the rest of the page is executed. Set your FORM ACTION to ThankYou.tmpl (without the command), then enclose the [purchase] tag (there should be details in the online reference guide) in a [showif] context so that the cart is only purchased if the form was filled out correctly.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. RE: error count with $purchase (Marc Eagle 1997)
Kevin ->I am trying to do a situation for my thanyou page, to >make sure that the require fields of address, phone number etc are inputed. >Members of my team have complained that the reqfield error page that is >returned, is not sufficient enough. >However, when the $purchase command is done, it automatically checks the >credit card number and sends email via webmerchant, regardless of what has >been done via . >Is there anyway to stop webmerch from doing this?If you're going to be doing your own custom error checking, use the [purchase] tag on the ThankYou.tmpl page instead of the $purchase command. If you use the command, the cart is purchased first, before the WebDNA on the rest of the page is executed. Set your FORM ACTION to ThankYou.tmpl (without the command), then enclose the [purchase] tag (there should be details in the online reference guide) in a [showif] context so that the cart is only purchased if the form was filled out correctly.I hope this helps,Marc Eagle StarNine Technologies http://www.smithmicro.com/ Marc Eagle

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:

[Announce]: Web server security and password protection (1997) What file? (1997) Multiple catalog databases and showcart (1997) WebDNA Solutions ... sorry! (1997) PCS Frames (1997) [SearchString] problem with [search] context (1997) [WriteFile] problems (1997) Looping (2000) Re:Merging databases (1997) WebCatalog2 Feature Feedback (1996) [WebDNA] Ubuntu 18.04.2 ??? (2019) Databases inside [SHOWIF] (1998) database with 10,000+ web pages stored in it? (2000) A Global Variable (1997) WebCat for Unix?? (1997) Bug Report, maybe (1997) [append] (1997) WebCatalog for Postcards ? (1997) Help with Shipping Costs (1997) WebCat2b12 - nesting [tags] (1997)