Prevent textbox autofill with previously entered values

后端 未结 8 1160
轮回少年
轮回少年 2020-11-29 11:10

I have an asp page with some Textbox controls on it.

By default, the browser will suggest previously entered values for each box.

I\'d like to prevent that b

8条回答
  •  野性不改
    2020-11-29 11:23

    This is the answer.

    AutoCompleteType="Disabled"

    If you still get the pre-filled boxes for example in the Firefox browser then its the browser's fault. You have to go

    'Options' --> 'Security'(tab) --> Untick

    'Remember password for sites and click on Saved Passwords button to delete any details that the browser has saved.

    This should solve the problem

提交回复
热议问题