Skip to content
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

Swap out hard coded nino validation for html pattern attribute #380

Open
feedmypixel opened this issue Jan 29, 2016 · 0 comments
Open

Swap out hard coded nino validation for html pattern attribute #380

feedmypixel opened this issue Jan 29, 2016 · 0 comments

Comments

@feedmypixel
Copy link
Contributor

This code https://github.com/hmrc/assets-frontend/blob/master/assets/javascripts/validation/customValidations.js#L5-L8
can be moved by placing the regex in a pattern attribute in the markup. I think this is being used in IV only

Will potentially need more work than just the above (as in a markup refactor etc)

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

No branches or pull requests

1 participant