ccherot/winetracker

Form validation

Opened this issue · 0 comments

We need for validation.

  • Make sure the password confirm and password fields match as this check is not happening on the server-side any more

  • Make sure the required fields for the wine entry form and the cellar item entry forms have validation and figure out what the char min needs to be for those. Potentially some dorky producer could have a one character name, which would be dumb but its possible.

  • Validate country names? We could potentially go down the route of validating against a valid list of countries too. A similar approach could be taken the Appellations as well but this would be a considerable amount of work and is not high priority.