Remove Phone Validation on Checkout Page
What are the proper steps to remove the required field for phone validation on the checkout page?
What are the proper steps to remove the required field for phone validation on the checkout page?
Update the input form element on this page like:
<input id="Phone_Number" name="Phone_Number" type="text" value="<?php echo(WA_coalesce(array(WA_getSavedFormValue("CheckoutWizard_NewFromBlank_Default","Phone_Number"),(isset($_GET["invalid"])?ValidatedField("confirmcart","Phone_Number"):"")))); ?>" class="formTextfield_Large" tabindex="5" />
Then on the confirm_cart.php page on the top of the page, remove the server validation line that refers to the phone number field.
On the confirm cart page remove this line only?
$WAFV_Errors .= WAValidatePN((isset($_POST["Phone_Number"])?$_POST["Phone_Number"]:"") . "",false,true,true,4);
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.