Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Write functions for validating NFC and Qr codes #14

Open
zbreit opened this issue Mar 9, 2020 · 0 comments
Open

Write functions for validating NFC and Qr codes #14

zbreit opened this issue Mar 9, 2020 · 0 comments
Labels
new feature New feature or request

Comments

@zbreit
Copy link
Collaborator

zbreit commented Mar 9, 2020

For the NFC codes, you can validate them by putting all of the prewritten NFC codes into a new Set() and simply checking if the nfc code that was read is contained in the set.

For the QR codes, you should use yup.string().email() to test that the email is valid.

@zbreit zbreit added the new feature New feature or request label Mar 9, 2020
@zbreit zbreit added this to the Minimum Viable Product milestone Mar 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant