disables submit button until fields are filled