Adjusting/Removing Validations from checkout.php, as located in confirm.cart.php
Hello,
I have participants from potentially all around the world, and the validations in the fields Phone, State, and Postal Code are far too restructive (presently designed for USA criteria.
Should I simply comment those three lines out in "$WAFV_Errors" in confirm_cart.php (I tried that but must in that case have made some error).
Or may I plrease know where the function definition is located, so I can try to decipher the syntax and make the adjustments?
E.g. I am not sure to what the parameters in:
$WAFV_Errors .= WAValidatePN((isset($_POST["Phone_Number"])?$_POST["Phone_Number"]:"") . "",false,true,true,4)
are referring.
I also tried using
$WAFV_Errors .= WAValidateRQ((isset($_POST["First_Name"])?$_POST["First_Name"]:"") . "",true,1);
as a template for a "required" field, but that also did not seem to work for me.
Thank you,
KB