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
Prema -Prema - 

How to create smart search picklist like whenever i enter any text it should display under it?

How to create smart search picklist like whenever i enter any text it should display under it? https://blog.jeffdouglas.com/2010/07/13/building-a-dynamic-search-page-in-visualforce/ i am following this but i am unable to create interested technologies picklist please help
Naveen IlaNaveen Ila
Below you can find sample code for Auto Complete Picklist: 

public with sharing class AutoCompelteController {
    
    public List<String> slctOpts {set; get;} 
    public AutoCompelteController(){

        slctOpts = new List<String>();
        slctOpts.add('HTML');
        slctOpts.add('CSS');
        slctOpts.add('JavaScript');
        
    }
}

Use describe call to populate slctOpts  from picklist of an object. 


<apex:page showHeader="false" docType="HTML-5.0" controller="AutoCompelteController">
    <apex:form >

        <apex:inputText list="{!slctOpts}" />
        
    </apex:form>
</apex:page>


To make it fancy you can refer: 
https://codepen.io/anon/pen/PdYYGz
Prema -Prema -
But according to your code the data is already entered . And I want it to be dynamic like when I type the account name suppose I'm typing united then it should show all the accounts which has this name. It should be dynamic..
Alain CabonAlain Cabon
Technologies picklist (HTML, CSS, Javascript)(solution above) or a simple basic account lookup?  Your question is not clear.
Prema -Prema -
I'm looking for something like when we type on Google it starts showing the results when we are in the middle of typing..hope you would have got the clear idea what m saying.