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

Correct zip code validation #185

Open
LukasForst opened this issue Mar 19, 2021 · 2 comments
Open

Correct zip code validation #185

LukasForst opened this issue Mar 19, 2021 · 2 comments
Labels
backend Backend part of the repository. frontend Frontend part of the repository.

Comments

@LukasForst
Copy link
Member

  • ted to uplne nevalidujeme na FE ani na BE
  • FE + BE
@LukasForst LukasForst added backend Backend part of the repository. frontend Frontend part of the repository. labels Mar 19, 2021
@misslecter
Copy link
Contributor

Validuji na FE formát akorát no. Předpokládám, že cílem je validovat, zda PSČ existuje v ČR

@martin-majlis
Copy link
Contributor

Pro uplnou validaci je asi potreba overit, jestli v souboru [1] a obecne to muze byt libovolne 5 mistne cislo [2]. Vice na wikipedii - https://cs.wikipedia.org/wiki/Po%C5%A1tovn%C3%AD_sm%C4%9Brovac%C3%AD_%C4%8D%C3%ADslo

  1. https://www.ceskaposta.cz/ke-stazeni/zakaznicke-vystupy#1 -> https://www.ceskaposta.cz/documents/10180/3738087/db_psc_a.zip/d28208a4-279a-10e3-205a-e44ccc6214b2 - jestli je v tomto souboru
  2. https://www.czso.cz/csu/rso/psc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend part of the repository. frontend Frontend part of the repository.
Projects
None yet
Development

No branches or pull requests

3 participants