Just like the question asks, is there a way to stop a form *after* it has been submitted?
This is not a 'how do I validate' question. I cannot call a function and return true/false after some conditional. The condition on which to stop the form depends on file size, and that can only be accessed after the file has begun to be uploaded (via my form submission).
No, form submissions for file handling is *not* optimal, *but* I'm working with legacy code.
Thanks! Which server-side framework are you using?
以上就是Stop a form after it has submitted的详细内容，更多请关注web前端其它相关文章！