validation complete - todo submit function should be disabled when not valid or not appear when invalid input exists