MeiH10 / RPI-EventHub

A comprehensive platform for RPI students and staff to effortlessly create, advertise, and explore diverse campus events, fostering a vibrant and connected university community.
MIT License
3 stars 1 forks source link

Form validation #98

Open MeiH10 opened 2 months ago

MeiH10 commented 2 months ago

For the popup modal forms, add some form validation to ensue that the user can't submit the form without filling out all required fields. Also mention which fields are optional

MeiH10 commented 2 months ago

for the events modal, everything is required except image and tags

MeiH10 commented 1 week ago

@pashok4865 please make a pull request if you're done with this issue

MeiH10 commented 1 week ago

@pashok4865 Good work, but two minor issues(don't worry too much about them for now since you're on break) (also if you're going to work on them, please make a new branch from main or rebase your current branch to ensure the code is up to date)

  1. The Success message still pops up even when the event is not successfully created. image
  2. When the user first open the form, we have some red alerts saying certain fields are missing. This should not be there when the user haven't even fill out the form yet. The signup modal doesn't do that so the create event modal shouldn't either. image