Add client side validation for required fields, references GH-6