8000 ABARoutingNumber: Add ABA Routing Number Validation by coryasilva · Pull Request #2216 · jquery-validation/jquery-validation · GitHub
[go: up one dir, main page]

Skip to content

ABARoutingNumber: Add ABA Routing Number Validation #2216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 10, 2018

Conversation

coryasilva
Copy link
Contributor
@coryasilva coryasilva commented Sep 24, 2018

Description

This is used in the United States to process payments, deposits, or transfers using the Automated Clearing House (ACH) or Fedwire systems. A very common use case would be to validate a form for an ACH bill payment.

https://en.wikipedia.org/wiki/ABA_routing_transit_number

@Arkni
Copy link
Member
Arkni commented Sep 30, 2018

Thanks for your contribution! I'll triage and take a look at it as soon as possible!

Copy link
Member
@Arkni Arkni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your contribution. Overall, the PR looks good to. Only a minor change and we are good to go.

I would like also if you could add the test file to test/index.html after these two lines:

<script src="additional/creditcard.js"></script>
<script src="additional/netmask.js"></script>

* systems. A very common use case would be to validate a form for
* an ACH bill payment.
*/
$.validator.addMethod( "ABARoutingNumber", function( value ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make the first 3 letters lowercase, so it maintain consistence with the other additional methods?

@@ -0,0 +1,23 @@
QUnit.test( "ABARoutingNumber", function( assert ) {
var method = methodTest( "ABARoutingNumber" );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need also to be changed after updating the name.

@staabm
Copy link
Member
staabm commented Oct 9, 2018

The filenames should also use lower letters.

@Arkni
Copy link
Member
Arkni commented Oct 9, 2018

Good catch @staabm.

@coryasilva could you please rename the source and test files to be the same as the method name? After that, we are good to go.

Thanks!

@coryasilva
Copy link
Contributor Author

lol, damn windows box. The company finally gave me a macbook, give me a couple more days to migrate my dev environment and I will make sure the file renames stick.

@coryasilva
Copy link
Contributor Author

Okay I just renamed the files in github. I hope that worked.

Copy link
Member
@Arkni Arkni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Thanks a lot for your contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0