Skip to content

Add input validation class #11

@kpraturu

Description

@kpraturu

Story/Task Details

  • Create a JavaScript or ReactJS class to handle data input valid.

Acceptance Criteria

  • The class has a function that takes in a string of text and returns a boolean that is true if the input string is valid and false otherwise.

  • Potentially more validation tasks are necessary. Class should be a general handler that validates all types of input.

  • Be able to do something like validate(equipmentItem, equipmentType) and it will validate equipmentItem against the specification of equipmentType

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions