sitefinity:TextField autocomplete=off
How can I remove the autocomplete to Sitefinity: TextField as autocomplete = "off" does not work
<sitefinity:TextField ID="firstName" runat="server" CssClass="sfRequired"
DisplayMode="Write" Title='firstNameEnvio'>
<ValidatorDefinition required="True"
messagecssclass="sfError" />
</sitefinity:TextField>
Hello Omar,
You can change the auto complete behavior of the TextField by following these steps:
HostType:
Telerik.Sitefinity.Web.UI.Fields.TextField, Telerik.Sitefinity
LayoutTemplatePath:
~/TextFieldWithoutAutoComplete.ascx
This will replace the default layout file of the TextField with new file with almost the same content, but in the new file we have set autocomplete=”off” to internal asp:TextBox element.
If you need any further assistance on this matter please feel free to ask.