✅ ✅ Issues With Input Validation
I'm asking the user for information when they select to update an entry within the database. Their instruction is to just press enter and leave the entry blank if they want to keep the information the same, however, I also need this function to check a date format and a time format (two separate checks) and I can't figure it out. To clarify, The first entry is asking them for an adjusted date, or to leave it empty. When they put in something, it needs to check if that entry is empty or not and whether it matches
MM/dd/yyyy format. Then it asks them for the updated start time, or to leave it empty. That needs to check if the entry is empty and whether it matches HH:MM format and same for the third check. Thanks