AlexKMarshall / regMan

CRM to manage registrations to summer camps
MIT License
2 stars 0 forks source link

the registration form should not be shown, if the registration is not possible #21

Open hucki opened 4 years ago

hucki commented 4 years ago

the current data structure only allows registration, if there is data for instruments with a max_attendants value set. as long as this data is not available, the registration form should not be shown.

This should also be an option, if registration is not possible due to other circumstances.

AlexKMarshall commented 4 years ago

The form is also missing validation (even if the instruments were there I think you're not forced to select one). We could replace the forms with a library like Formik or react-hook-forms which handles this pretty easily.

hucki commented 4 years ago

I agree. validation is vital on the instruments I was also missing an input field for postcode / ZIP