We have two objects SieBid_Opportunity__c which is child object and SieBid_Account__c which is parent. I have created a vf page with standard controller of SieBid_Opportunity__c which shows the lookup field to SieBid_Account__c along with other fields on page. I want to fetch the field value of IFA_Number__c of whichever SieBid_Account__c record is selected by user on page through lookup. Currently it's returning null value. I have even added outputText so as to query the field but still it's returning null value in extension.
<apex:outputText value="{!opp.Account__r.IFA_Number__c}" rendered="false"/>