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
baseball123baseball123 

Select Product Visualforce Page

I'm trying to develop a visualforce page to allow user to type the product name (or partial product name) in a selectOption field. Once users hit enter, the selectOption field would display all the active products start with what the user types. Can anyone share some thoughts on how to achieve this goal?

 

Thanks in advance,

kiranmutturukiranmutturu

u can acheive this by using the action:support tag.....

 

1. create the input field and once user enters the value and clicks on enter ..here u need to identify the window key event ...i.e. for enter key it is 13 i think....once u got the key event i.e onkeypress event u need to execute the action function then refresh the panel with the recent list  based on the user input..