You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a completely naive implementation at the moment, with zero validation.
Some thoughts on what validation could encompass:
Ensuring athlete IDs conform to /^A[0-9]+$/
Ensuring athlete name and ICE contact name aren't blank
Ensuring the ICE contact number is exactly that, a number
Providing a default value of "None" for medical info if the default is cleared
Also - should validation be done on both client & server, or server only? As the pass is retrieved by redirecting to a different URL, we can render a different page with an error message instead.
The text was updated successfully, but these errors were encountered:
It's a completely naive implementation at the moment, with zero validation.
Some thoughts on what validation could encompass:
/^A[0-9]+$/
Also - should validation be done on both client & server, or server only? As the pass is retrieved by redirecting to a different URL, we can render a different page with an error message instead.
The text was updated successfully, but these errors were encountered: