function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hello,
I want to use the lookup search icon (magnifying glass) next to an input field. How can I do this???
I am using <apex:inputText value="{!product}"/> and I want to be able to search for products. In another thread I've seen something like:
<apex:inputText value="{!product.SelfLookUpfieldAPIName}"/>, but cannot get it to work.
Please help,
Mike.
You will have to use an apex:inputField in order to get the lookup functionality - its not available to other input types.
The other option is to roll your own in Visualforce. I wrote a blog post about this some time ago at:
http://bobbuzzard.blogspot.com/2010/09/visualforce-lookup.html
Thank you. I used inputField instead.. :smileyhappy:
You will have to use an apex:inputField in order to get the lookup functionality - its not available to other input types.
The other option is to roll your own in Visualforce. I wrote a blog post about this some time ago at:
http://bobbuzzard.blogspot.com/2010/09/visualforce-lookup.html
All Answers
You will have to use an apex:inputField in order to get the lookup functionality - its not available to other input types.
The other option is to roll your own in Visualforce. I wrote a blog post about this some time ago at:
http://bobbuzzard.blogspot.com/2010/09/visualforce-lookup.html
Thank you. I used inputField instead.. :smileyhappy: