Disable browser autofill on input?

Here’s a solution:

  1. Put your input component into Block (separate block for each input for which you need to disable autocomplete
  2. Assign an anchor value for the Block component:
  3. Drag the Custom Code block into the page logic for the On Page Enter event:
  4. Click the gear icon for the Custom Code block and add the following code:
var myInput = document.getElementById('myInputHolder').getElementsByTagName('input')[0];
myInput.setAttribute( "autocomplete", "off");
  1. Click Save and Close and run the page.

Your input component should now have the autocomplete attribute:

Regards,
Mark