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

Whitespaces and other defined characters must be stripped from certain fields #37

Closed
petkivim opened this issue Oct 25, 2016 · 1 comment

Comments

@petkivim
Copy link
Owner

petkivim commented Oct 25, 2016

Acceptance criteria:

  • all the whitespaces and other non-numeric characters are stripped from field zip before validation
  • whitespaces are stripped from the beginning and end of field phone before validation. Only digits and whitespaces are allowed inside the string. The first character can be a digit or +. All the other characters are stripped from the string.
  • whitespaces are stripped from the beginning and end of fields email and www before validation
  • the modified version of the field must be returned if validation fails
@petkivim petkivim changed the title Whitespaces must be stripped from certain fields Whitespaces and other defined characters must be stripped from certain fields Oct 29, 2016
petkivim added a commit that referenced this issue Oct 29, 2016
Added filtering rules to public ISBN and ISSN forms. Forbidden
characters are stripped from certain fields and erroneus user input is
automatically corrected. #37 #35
@petkivim
Copy link
Owner Author

Done.

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