Chrome Autocomplete
Posted: Wed Apr 19, 2023 8:44 am
If a user has saved their login details on Chrome browser, upon login to vicidial the email field on the main form is populated with their user login, if their first call is a lead with no email, that lead's email is filled with the user login which creates an issue especially if there's integration at play and lead information is syncing with another system because their login isn't an email address, it will fail validation on most other systems.
So, I was thinking of adding autocomplete=off to all the fields on the main tab would help but that doesn't work and I tried every known way to do it including with form tags surronding the fields and setting role=presentation but Chrome still autofills the email field.
One way I found of avoiding it was to load the field as readonly and add onfocus="this.removeAttribute('readonly');" making the field editable as soon as the mouse is put over it but chrome still presents the dropdown with autofill values, something I think should be avoided in an application like VICIdial.
Any other suggestions?
So, I was thinking of adding autocomplete=off to all the fields on the main tab would help but that doesn't work and I tried every known way to do it including with form tags surronding the fields and setting role=presentation but Chrome still autofills the email field.
One way I found of avoiding it was to load the field as readonly and add onfocus="this.removeAttribute('readonly');" making the field editable as soon as the mouse is put over it but chrome still presents the dropdown with autofill values, something I think should be avoided in an application like VICIdial.
Any other suggestions?