+ Start a Discussion

how to get the value of inputFiled from VF to the controller



I declared one inutFiled in visualforce as type lookup by the following code.


<apex:inputField id="sfn" value="{!House_Bill_Of_Ladding__c.SFN_Number__c}"  >


once i enter the value in inputFiled through lookup  i have to capture the value in apex controller .


Plz tell me how to capture the value with example.


Thanks in advance,