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
ledap13ledap13 

return value from apex:inputField in my controller

Hi friends,
I have the following problem:
I want to return the value of my field in my controller.

<apex:inputField value="{!Opportunity.Tariff__c}" >
  <apex:actionSupport event="onchange" action="{!selectProductsByTariff}" />
</apex:inputfield>

where tariff_c a Lookup Relationship to a custom object.

Thanks
Ramu_SFDCRamu_SFDC
The following post has a similar discussion https://developer.salesforce.com/forums/ForumsMain?id=906F000000097p5IAA

Below is an article on setting up lookup fields on visualforce.  
http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/

Hope this helps !!a
ledap13ledap13
Thats good.
Thanks