{"id":92,"date":"2010-04-01T11:57:07","date_gmt":"2010-04-01T11:57:07","guid":{"rendered":"http:\/\/jcrawfor74.wordpress.com\/?p=92"},"modified":"2013-01-24T01:50:44","modified_gmt":"2013-01-23T14:50:44","slug":"textbox-supress-previous-entires-auto-complete-off","status":"publish","type":"post","link":"https:\/\/ntsblog.homedev.com.au\/index.php\/2010\/04\/01\/textbox-supress-previous-entires-auto-complete-off\/","title":{"rendered":"Textbox &#8211; supress previous entries &#8211; auto complete off"},"content":{"rendered":"<div id=\"ntsbl-1643542847\" class=\"ntsbl-before-content ntsbl-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6288941070289539\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-6288941070289539\" \ndata-ad-slot=\"9356781486\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p>Hi,<\/p>\n<p>I am developing a website and noticed that all my text boxes were repeating the content that had been entered previously.<\/p>\n<p>Found this blog here;<br \/>\n<a href=\"http:\/\/ryanfarley.com\/blog\/archive\/2005\/02\/23\/1739.aspx\">http:\/\/ryanfarley.com\/blog\/archive\/2005\/02\/23\/1739.aspx<\/a> (I like ryans stuff).<\/p>\n<p>In short you can turn this off via the <b><i>autocomplete=&#8221;off&#8221;<\/i><\/b> property.<br \/>\nThis can be set in a number of ways:<\/p>\n<ol>\n<li>On the form, this disables it for all content on the form. This is really handy if you are using master pages as add it to your master page and job done, your entire site now stops prompting.\n<li>On a control by control basis;<br \/>\n[html]&lt;asp:TextBox ID=&quot;txtText&quot; runat=&quot;server&quot; autocomplete=&quot;off&quot; &gt;[\/html]\n<\/ol>\n<p><b>Note:<\/b> Visual studio will complain that it does not know this property but it works none the less so just ignore VS.<\/p>\n<p>Cheers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, I am developing a website and noticed that all my text boxes were repeating the content that had been entered previously. Found this blog [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-asp-net"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":0,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}