It’s a common situation when making a website with forms – you want to make sure the user gives you information and you want to make sure the information is valid. At the same time you want to limit users from putting in harmful information. Should be an easy task, right? After all, everyone has filled out an online form by this point, and there are literally thousands of forms out there on the Web that you can reference. Different types of data are rigidly defined. Some of them by governing bodies no less, so there’s documentation out there you can reference to get the exact format of data to be entered. Am I saying form validation is difficult?
jQuery… in 2018?
…I’m not about to say jQuery was a mistake, but I do think using it on a new project in 2018 (or 2019, 2020, current year) likely is.