Activity Forums Salesforce® Discussions How to disabling a lookUp inputfield on Salesforce visualforce page?

  • Mohit

    Member
    September 19, 2016 at 7:10 am

    Hi Tanu,

    You can disable a lookup inputfield in visualforce page. By writing this piece of code in your javascript function which is used to cal the lookup function on your visualforce page :

    document.getElementById(inputfieldId).disabled=true;

    or

    document.getElementById(LookupIconId).style.visibility = 'hidden';

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos