Validation of addTask & editTask forms

- thoroughly checks if any of the field is empty or set to "--Select
One--" before submitting the form!