add validation to Tasks/addInput.html