https://www.sourcebaran.com/learn/javascript_form_validations/