Add function to check if an element is empty
Add to checkForm the ability to check if certain fields are empty and display the proper warning message.