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

Validate user input #5

Open
benstadlbauer opened this issue Nov 15, 2020 · 0 comments
Open

Validate user input #5

benstadlbauer opened this issue Nov 15, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@benstadlbauer
Copy link
Owner

The user input should be validated such that the database-entries are making sense and further statistics can be calculated in the future.

Description

This will be just a normal string.

Amount

This should be a valid amount format. Here, only positive numbers with a maximum of 2 decimal places should be allowed. The decimal separator could be a period . or a comma ,.

Date

Here, the user should choose from the browser-built-in calendar so no validation should be necessary.

Category

The user should choose a provided category so no validation should be necessary.

@benstadlbauer benstadlbauer added the enhancement New feature or request label Nov 15, 2020
@benstadlbauer benstadlbauer self-assigned this Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant