Is there a W3C valid way to disable autocomplete in a HTML form?

后端 未结 18 1131
心在旅途
心在旅途 2020-11-22 05:58

When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML



        
18条回答
  •  遇见更好的自我
    2020-11-22 06:30

    Not ideal, but you could change the id and name of the textbox each time you render it - you'd have to track it server side too so you could get the data out.

    Not sure if this will work or not, was just a thought.

提交回复
热议问题