Reputation: 829
I'm trying to remove the autocomplete="off"
attribute from the input field for the email recipient field
The code of the input field is as follows:
<input
class="ac_input yui-ac-input"
size="96"
id="addressTO1"
title="An"
name="addressTO1"
onkeyup="SE.composeLayout.showAddressDetails(this);"
autocomplete="off" type="text">
Is there a setting that can be accessed via the GUI that changes the behaviour of the email "to" field or what would be the best way to turn on the autocomplete functionality.
Just removing it does not work, as there is some javascript functionality there, that keeps bringing it back.
I'm using suiterCRM version 7.6.5 Sugar Version 6.5.23.
Upvotes: 1
Views: 451
Reputation: 922
There is no GUI for changing that, the autocomplete=off
is hardcoded.
The TO field (addressTO1
dynamically generated name) is not a regular text input field, it will support multiple emails separated by comma, so a autocomplete="email"
will not work.
The only solution I could come up with is for you to create a javascript function and attach to the keyup event of the field and show your logic.
Also you will need to save previously filled input with the answers and provide a mechanism to delete that. Not an easy solution I am afraid.
Upvotes: 1