Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Delete form input history

more options

I'm a hobby-programmer not trained. My doc is local php file, saving calendar events to text files, run on localhost. The field in question is a line number on my calendar. Javascript uses that number to load another input with the calendar entry so I can confirm that it's the correct line before submitting it to PHP for deletion. I have unchecked 'Remember search and form history', ran 3 cleaners, restarted the computer and the data is (correctly) not displayed. But it is not deleted. When I rechecked 'Remember search and form history' the old input data comes back. If I change id, field name, javascript function name and variable names the history disappears but when I restore those names, the history is back. I want to know why that input can't be permanently deleted. Windows 10, Firefox 103.0.2 (64-bit)

I'm a hobby-programmer not trained. My doc is local php file, saving calendar events to text files, run on localhost. The field in question is a line number on my calendar. Javascript uses that number to load another input with the calendar entry so I can confirm that it's the correct line before submitting it to PHP for deletion. I have unchecked 'Remember search and form history', ran 3 cleaners, restarted the computer and the data is (correctly) not displayed. But it is not deleted. When I rechecked 'Remember search and form history' the old input data comes back. If I change id, field name, javascript function name and variable names the history disappears but when I restore those names, the history is back. I want to know why that input can't be permanently deleted. Windows 10, Firefox 103.0.2 (64-bit)

被選擇的解決方法

bob9111 said

I have unchecked 'Remember search and form history', ran 3 cleaners, restarted the computer and the data is (correctly) not displayed. But it is not deleted. When I rechecked 'Remember search and form history' the old input data comes back.

Firefox has a method to bulk clean form history but it's in the History section of the page (or press Ctrl+Shift+Delete). In the dialog make sure to deselect everything else except Form & search history to avoid unwanted data loss:

BUT FIRST:

If you don't want to bulk clear this data for ALL sites, you could test whether adding autocomplete="false" to your input resolves the issue: https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

bob9111 said

I have unchecked 'Remember search and form history', ran 3 cleaners, restarted the computer and the data is (correctly) not displayed. But it is not deleted. When I rechecked 'Remember search and form history' the old input data comes back.

Firefox has a method to bulk clean form history but it's in the History section of the page (or press Ctrl+Shift+Delete). In the dialog make sure to deselect everything else except Form & search history to avoid unwanted data loss:

BUT FIRST:

If you don't want to bulk clear this data for ALL sites, you could test whether adding autocomplete="false" to your input resolves the issue: https://developer.mozilla.org/docs/Web/HTML/Attributes/autocomplete