Turn off browser autoComplete for phoneNumber fields

I am trying to turn off the browser autoComplete feature for phonenumber fields on my form. There is no checkbox in the UI to do this. from the browser console I can execute this JS: document.getElementById("phoneNumber1--0").autocomplete="off"
and it works fine but trying to run that JS script from a query or in the modal show event yields this error: Cannot set properties of null (setting 'autocomplete')

from where can I call my JS snippet?

1 Like

Hello @swaggerutah,

You can refer to this forum thread for assistance:

Alternatively, you may need to disable the "Save and fill addresses" option in your Chrome settings and delete any saved addresses to resolve the issue.

Hope this solution works well for you! :crossed_fingers:

4 Likes