Disable form validation in browser

后端 未结 5 2258
Happy的楠姐
Happy的楠姐 2021-02-12 23:53

I\'m coding on a website with forms and use HTML5 validation - no rocket science so far. Everything works fine for me in Google Chrome, but I want to get sure that even a IE 6 u

5条回答
  •  爱一瞬间的悲伤
    2021-02-13 00:14

    Unfortunately, the accepted answer doesn't work anymore since it was introduced in case the form validation was buggy (see removal requests).

    Luckily, there is a chrome extension that does that for us for every page: Auto remove HTML5 form validation .

    I'm not the author of this plugin and I cannot guarantee you that it doesn't do anything it isn't supposed to. The source code is very short, though (about 5 lines).

提交回复
热议问题