OHS-Hosting-Infrastructure / complaint-tracker

**This repo is currently not in active development.** Increasing visibility into complaint status by connecting data across the OHS ecosystem
Other
4 stars 0 forks source link

Add validation for Display Id format #238

Closed Sgtpluck closed 2 years ago

Sgtpluck commented 2 years ago

Description of change

Adds some validation around the TTA Display ID format because TTAHub 500s if the display id is not in the expected format.

Acceptance Criteria

When I input a TTA Activity Report Display ID that does not match the format /^R/d{2}-AR-/ I want an error that tells me it's a bad format So I know what the problem is

How to test

Checklist

To be completed by the submitter:

To the Reviewer

This project is using Conventional Comments to give structure and context to PR comments. Please use these labels in your comments.