Skip to content

[FRONTEND] Add client-side form validation to vaccination issue form #233

Description

@dev-fatima-24

Priority: high

Description

The vaccination issue form on the Issuer Dashboard submits without validating required fields, date formats, or wallet address format. Client-side validation should catch errors before the API call.

Acceptance Criteria

  • All required fields show inline error messages when left empty on submit
  • Wallet address is validated against Stellar public key format (starts with G, 56 chars)
  • Date field rejects future dates
  • Vaccine name field enforces a minimum of 2 characters
  • Form cannot be submitted while any validation error is active

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions