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:

Rhapsody? (1997) Security Tip (1996) Search in 2 or more catalogs (1997) Changing SubTotal (2003) Mac Lockup Problems (1998) emailer error type 103 (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] PayFlo Pro - Sept. 1st. deadline? (2009) Mail Service Dead (1998) Searching multiple Databases (1997) Q: old cart serial problem (2000) Custom Shipping Charges (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) WebCat2 several catalogs? (1997) A few questions. . . (1997) formula.db, adding option prices (1997) Multiple SSL Keys (1998) ShipCosts database (1997) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) multi-paragraph fields (1997)