Validation of Java Vehicle License Plate [closed]

1

Does anyone know how to validate new vehicle license plates? Vehicle plates should start using Mercosur standard in 6 months

Instead of 3 letters and 4 numbers, as it is today, the new plates will have 4 letters and 3 numbers, and may be scrambled, just like in Europe.

  • The board can be at least 2 characters starting with letters = MJ1234

    However if only 2 letters are entered, the system will only allow the insertion of 4 numbers, even if the field total is 7 characters.

  • The board may be 3 characters starting with letters = MJL1234

    In this case, you will be able to enter up to 4 characters in numbers, allowing you to enter the 7 characters.

  • The board can be 4 characters starting with letters = MJLC123

    In this case you will also be able to type the 7 characters.

  • In addition:

    • The system will not allow you to start typing with numbers, you should stop typing.
    • The system will not allow typing other characters than letters and numbers, examples: * / + [%, and even space, should lock this typing.

    • After inserting a number after the letters, the system will not allow you to enter another letter, for example: MJ12L8, you should lock this key.

    asked by anonymous 10.05.2018 / 14:38

    0 answers