use registerNoSubmitButton instead of misusing validation