Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -30,7 +30,6 @@ |
31 | 31 | var city = document.getElementById('city'); |
32 | 32 | var zip = document.getElementById('zip'); |
33 | 33 | var email = document.getElementById('emailAdd'); |
34 | | - var amountOther = document.getElementById('amountOther'); |
35 | 34 | if (fname.value == '') { |
36 | 35 | fname.style.color = '#999999'; |
37 | 36 | fname.value = '$first'; |
— | — | @@ -75,11 +74,20 @@ |
76 | 75 | } |
77 | 76 | |
78 | 77 | if (document.getElementById('fname').value == '$first') { |
79 | | - output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsg' + msg['Fname']] + '.\\r\\n'; |
| 78 | + output += payflowproGatewayErrorMsgJs + ' First Name.\\r\\n'; |
80 | 79 | } |
81 | | - if (document.getElementById('lname').value == '$last') { |
82 | | - output += payflowproGatewayErrorMsgJs + ' ' + window['payflowproGatewayErrorMsg' + msg['Lname']] + '.\\r\\n'; |
| 80 | + if (document.getElementById('street').value == '$street') { |
| 81 | + output += payflowproGatewayErrorMsgJs + ' Street Address.\\r\\n'; |
83 | 82 | } |
| 83 | + if (document.getElementById('city').value == '$city') { |
| 84 | + output += payflowproGatewayErrorMsgJs + ' City.\\r\\n'; |
| 85 | + } |
| 86 | + if (document.getElementById('zip').value == '$zip') { |
| 87 | + output += payflowproGatewayErrorMsgJs + ' Zip Code.\\r\\n'; |
| 88 | + } |
| 89 | + if (document.getElementById('zip').value == '$zip') { |
| 90 | + output += payflowproGatewayErrorMsgJs + ' Zip Code.\\r\\n'; |
| 91 | + } |
84 | 92 | |
85 | 93 | // validate email address |
86 | 94 | var apos = document.payment.emailAdd.value.indexOf("@"); |