Open EricTRL opened 5 years ago
What still needs to be validated what isn't yet validated?
What still needs to be validated what isn't yet validated?
I checked the model file, and the only that comes to mind is the fact that you'll need to leave a phone number when you have a keycode or external card (possibly tue student card). From the user-side, this wouldn't change much (if they're keen on removing info they can add fake data anyways). For admins/the board, this can somewhat "ensure" that keycodes/cards are not given to people who are hard to reach.
Some fields are only required in some scenarios and some fields are mutually exclusive.
E.g. Having a TU/e card number and external card number entered at the same time is unneeded, anda TU/e card number can only be entered if actually studying at the TU/e.Both cases are not necessarily true: there's a bit of a grace period between finishing your studies and losing access to TU/e-facilities.Can be fixed using model validation as mentioned in the docs or on this StackOverflow thread.