Created two functions to check if user entered in information and to see
if they went over the max length. Still an alert pops up to say what is
wrong but is no longer as specific.