PayPal seems to be ok with commas.
This commit is contained in:
parent
403c884489
commit
8b16abf981
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ $(document).ready(function() {
|
|||
var value = input.val();
|
||||
var errorElement=$("span", input.parent());
|
||||
|
||||
var re = /^[0-9\.]+$/;
|
||||
var re = /^[0-9\,\.]+$/;
|
||||
var isValid = (re.test(value) && parseInt(value) >= 120);
|
||||
if (isValid) {
|
||||
input.removeClass("invalid").addClass("valid");
|
||||
|
|
Loading…
Reference in a new issue