Forum Discussion
olivierchemin-2
2 years agoCommunity Member
Preventing the browser from storing previously typed text in a text entry zone
Hi, Is there a way of preventing the browser from storing previously typed text in a text entry zone? Whether the module is consulted on review or on an lms? Can this be configured on story...
Nedim
2 years agoCommunity Member
If the reset functionality doesn't help, as suggested by SBP_Inc, you might want to set the autocomplete attribute of the text entry field to 'off' using JavaScript to prevent the browser from suggesting previously typed values. Something like:
const textInputs = document.querySelectorAll('.acc-textinput');
textInputs.forEach((input) => {
input.setAttribute('autocomplete', 'off');
});However, I'm not entirely sure if this is related to your issue.
Related Content
- 4 months ago
- 8 months ago