Saturday, March 5, 2011

Disable autocomplete fields on the Form using javascript in ADF


Add below lines at the end of each jsff page.
 <trh:script id="trh1">
function disableAutoCompleteFormData()
{
   for(i=0; i!=document.getElementByTagName('FORM').length;i++){
 document.getElementsByTagName("FORM")[i].setAttribute('autocomplete','off');
   }
}
 </trh:script>

No comments:

Post a Comment