r76827 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76826‎ | r76827 | r76828 >
Date:19:31, 16 November 2010
Author:kaldari
Status:deferred
Tags:
Comment:
form checks
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php
@@ -74,20 +74,20 @@
7575 }
7676
7777 if (document.getElementById('fname').value == '$first') {
78 - output += payflowproGatewayErrorMsgJs + ' First Name.\\r\\n';
 78+ output += payflowproGatewayErrorMsgJs + ' first name.\\r\\n';
7979 }
 80+ if (document.getElementById('lname').value == '$last') {
 81+ output += payflowproGatewayErrorMsgJs + ' last name.\\r\\n';
 82+ }
8083 if (document.getElementById('street').value == '$street') {
81 - output += payflowproGatewayErrorMsgJs + ' Street Address.\\r\\n';
 84+ output += payflowproGatewayErrorMsgJs + ' street address.\\r\\n';
8285 }
8386 if (document.getElementById('city').value == '$city') {
84 - output += payflowproGatewayErrorMsgJs + ' City.\\r\\n';
 87+ output += payflowproGatewayErrorMsgJs + ' city.\\r\\n';
8588 }
8689 if (document.getElementById('zip').value == '$zip') {
87 - output += payflowproGatewayErrorMsgJs + ' Zip Code.\\r\\n';
 90+ output += payflowproGatewayErrorMsgJs + ' zip code.\\r\\n';
8891 }
89 - if (document.getElementById('state').value == '') {
90 - output += payflowproGatewayErrorMsgJs + ' State.\\r\\n';
91 - }
9292
9393 // validate email address
9494 var apos = document.payment.emailAdd.value.indexOf("@");

Status & tagging log