Restrict HTML input to only allow paste

后端 未结 3 1908
孤街浪徒
孤街浪徒 2020-12-19 11:58

Is it possible to have a HTML input on a form that only accepts pasted input?

As part of our registration process, the enduser needs to enter a 20 character identifi

3条回答
  •  醉酒成梦
    2020-12-19 12:44

    Why make them even paste it in? if you are sending the verification token via email then just route them to http://example.com/verify/{{TOKEN}} via email and pickup the rest of the registration process from there.

提交回复
热议问题