I thought it was just some sort of code that triggered a dialog box to pop up but looking at it now it appears to be a WA thing. As I remember....it was a very quick an easy thing...(for you anyway). I think this is it in my old coldfusion code in my checkout page. I guess I should stay away from spry right now as I know nothing about it.
How would I recreate this same type of scenario in php? Is there some sort of tutorial somewhere? Sorry for the questions but I'm not sure how to implement this.
I assume I do it on the checkout page and add a serverbehavior with the "+" button? and then to validation toolkit and then to server validations?
If that is correct....then it should be triggered by..."current page submit"?
"validation type" looks self explanitory and then
how can I determine the "server variable"?
and what goes in the big box with the "+" button above it...is that the message that appears when it is an invalid entry?
"failure redirect" I assume should be the same checkout page? (Return to the same page to reenter the information?)
<form action="confirm_cc.cfm" method="post" name="ecart_checkout_form" onsubmit="WAValidateCC(document.ecart_checkout_form.cc_number,document.ecart_checkout_form.cc_number.value,'- Invalid credit card number','','4:51:52:53:54:55:34:37:6011:',document.ecart_checkout_form.cc_number,0,true);WAValidateEM(document.ecart_checkout_form.email,document.ecart_checkout_form.email.value,'- Invalid email address',document.ecart_checkout_form.email,0,true);WAValidateRQ(document.ecart_checkout_form.cvv,'- CVV Entry is Required',document.ecart_checkout_form.cvv,0,false,'text');WAAlertErrors('The following errors were found','Correct invalid entries to continue',true,false);return document.MM_returnValue">