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

[Change request to #5101] Edit address of waste disposal-Error messages #5199

Open
Iryna1972 opened this issue Feb 6, 2023 · 0 comments
Open

Comments

@Iryna1972
Copy link

Iryna1972 commented Feb 6, 2023

Description of a Change request:
As admin I want to see error messages, so that I can fill my address properly.

Acceptance Criteria

  1. 'City' field:
    If admin enters forbidden characters in the 'City' field in the 'Waste export address' section, the 'City' field is highlighted in red. Error message in red appears below the field:
    EN - Only letters, numbers and hyphen, space, apostrophe, dot, comma are allowed
    UA - Дозволені лише букви, цифри та дефіс, пробіл, апостроф, крапка, кома

  2. 'City' field:
    If admin leaves the 'City' field in the 'Waste export address' section empty, the 'City' field is highlighted in red. Error message in red appears below the field:
    EN - This field is required
    UA - Це поле є обов'язковим для заповнення

  3. 'City' field:
    If admin enters more than 30 characters in the 'City' field in the 'Waste export address' section, the 'City' field is highlighted in red. Error message in red appears below the field:
    EN - The field should contain 1-30 characters
    UA - Поле повинно містити 1-30 символів

  4. 'Street' field:
    If admin enters forbidden characters in the 'Street' field in the 'Waste export address' section, the 'Street' field is highlighted in red. Error message in red appears below the field:
    EN - Only letters, numbers and hyphen, space, apostrophe, dot, comma are allowed
    UA - Дозволені лише букви, цифри та дефіс, пробіл, апостроф, крапка, кома

  5. 'Street' field:
    If admin leaves the 'Street' field in the 'Waste export address' section empty, the 'Street' field is highlighted in red. Error message in red appears below the field:
    EN - This field is required
    UA - Це поле є обов'язковим для заповнення

  6. 'Street' field:
    If admin enters more than 120 characters in the 'Street' field in the 'Waste export address' section, the 'Street' field is highlighted in red. Error message in red appears below the field:
    EN - The field should contain 1-120 characters
    UA - Поле повинно містити 1-120 символів

  7. 'Districtt' field:
    If admin leaves the 'District' field in the 'Waste export address' section empty, the 'District' field is highlighted in red. Error message in red appears below the field:
    EN - This field is required
    UA - Це поле є обов'язковим для заповнення

  8. 'House' field:
    If admin enters forbidden characters in the 'House' field in the 'Waste export address' section, the 'House' field is highlighted in red. Error message in red appears below the field:
    EN - Only letters, numbers and hyphen, slash are allowed
    UA - Дозволені лише букви, цифри та дефіс, коса риска

  9. 'House' field:
    If admin leaves the 'House' field in the 'Waste export address' section empty, the 'House' field is highlighted in red. Error message in red appears below the field:
    EN - This field is required
    UA - Це поле є обов'язковим для заповнення

  10. 'House' field:
    If admin enters more than 4 characters in the 'House' field in the 'Waste export address' section, the 'House' field is highlighted in red. Error message in red appears below the field:
    EN - The field should contain 1-4 characters
    UA - Поле повинно містити 1-4 символів

  11. 'Building' field:
    If admin enters forbidden characters in the 'Building' field in the 'Waste export address' section, the 'Building' field is highlighted in red. Error message in red appears below the field:
    EN - Only letters and numbers are allowed
    UA - Дозволені лише букви та цифри

  12. 'Building' field:
    If admin enters more than 4 characters in the 'Building' field in the 'Waste export address' section, the 'Building' field is highlighted in red. Error message in red appears below the field:
    EN - The field should contain 1-4 characters
    UA - Поле повинно містити 1-4 символів

  13. 'Entrance' field:
    If admin enters forbidden characters in the 'Entrance' field in the 'Waste export address' section, the 'Entrance' field is highlighted in red. Error message in red appears below the field:
    EN - Only numbers are allowed
    UA - Дозволені лише цифри

  14. 'Entrance' field:
    If admin enters more than 2 characters in the 'Entrancep' field in the 'Waste export address' section, the 'Entrance' field is highlighted in red. Error message in red appears below the field:
    EN - The field should contain 1-2 characters
    UA - Поле повинно містити 1-2 символи

Epic: [#2195 ]
User Story : [#5101 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Sprint Backlog
Development

No branches or pull requests

1 participant