Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/TwoStepTwoColumnLetter3.php |
— | — | @@ -85,6 +85,9 @@ |
86 | 86 | if (document.getElementById('zip').value == '$zip') { |
87 | 87 | output += payflowproGatewayErrorMsgJs + ' Zip Code.\\r\\n'; |
88 | 88 | } |
| 89 | + if (document.getElementById('state').value == '') { |
| 90 | + output += payflowproGatewayErrorMsgJs + ' State.\\r\\n'; |
| 91 | + } |
89 | 92 | |
90 | 93 | // validate email address |
91 | 94 | var apos = document.payment.emailAdd.value.indexOf("@"); |
— | — | @@ -348,7 +351,7 @@ |
349 | 352 | |
350 | 353 | $states = statesMenuXML(); |
351 | 354 | |
352 | | - $state_opts = Xml::option( '', ' ' ); |
| 355 | + $state_opts = Xml::option( '', '' ); |
353 | 356 | |
354 | 357 | // generate dropdown of state opts |
355 | 358 | foreach ( $states as $value => $state_name ) { |