function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karna_ShivaKarna_Shiva 

How to hide User drop in a lookup on visualforce page?

How to hide User drop in a lookup on visualforce page?
User-added image
Best Answer chosen by Karna_Shiva
Gaurav KheterpalGaurav Kheterpal
You can follow this (http://www.thephani.com/hide-user-dropdown-on-lookup-visualforce/) tutorial. The key is to add custom css in your Visualforce page for the CSS class as follows

 
<style> 
    .hideDropdown select{ 
             visibility: hidden !important; 
             display: block !important; 
     } 
</style>
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker



 

All Answers

Gaurav KheterpalGaurav Kheterpal
You can follow this (http://www.thephani.com/hide-user-dropdown-on-lookup-visualforce/) tutorial. The key is to add custom css in your Visualforce page for the CSS class as follows

 
<style> 
    .hideDropdown select{ 
             visibility: hidden !important; 
             display: block !important; 
     } 
</style>
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker



 
This was selected as the best answer
ALTON FIGUEROAALTON FIGUEROA
Thank, so much!