Try Now
More in this section

Forums / Designing & Styling / sitefinity:TextField autocomplete=off

sitefinity:TextField autocomplete=off

2 posts, 1 answered
  1. Omar
    Omar avatar
    8 posts
    24 Dec 2013
    17 Jun 2014
    Link to this post

    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" />

  2. Elena Ganeva
    Elena Ganeva avatar
    36 posts
    20 Jul 2016
    18 Jun 2014
    Link to this post

    Hello Omar, 

    You can change the auto complete behavior of the TextField by following these steps:

    • Download the attached file and add its content in your application (for example in the SitefinityWebApp) and build the project
    • Go to the backend of Sitefinity->Administration->Settings->Advanced->Controls->ViewMap and add new entry with the following values:


    Telerik.Sitefinity.Web.UI.Fields.TextField, Telerik.Sitefinity



    • Click “Save changes” 

    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.

    Elena Ganeva
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 1 answered