You need to sign in to do that
Don't have an account?
dod
Address fields Display on visualforce Page
Hi,
I have two types of addresses on my opportunity object like (billing,shipping). i want to display these two type of adresses in following way.
street country zip
Billing:
Shipping:
Please give me suggestions to acheive this.
I just want display in visualforce page,so can you please help me out.
I tried with below code.But the data is not aligning properly.
<apex:pageBlock mode="view" >
<apex:pageBlockTable value="{!Opportunity}" var="a" width="100%" >
<apex:column width="125px" colspan="1">
<apex:outputLabel ><b>Billing Address:</b></apex:outputLabel>
</apex:column>
<apex:column width="125px" colspan="1">
</apex:column>
</apex:pageBlockTable>
<apex:pageBlockTable value="{!Opportunity}" var="a" width="100%" >
<apex:column width="125px" colspan="1">
<apex:outputLabel ><b>Shipping Address:</b></apex:outputLabel>
</apex:column>
<apex:column width="125px" colspan="1">
</apex:column>
</apex:pageBlockTable>
Reference : https://www.xgeek.net/salesforce/display-address-type-field-on-visualforce-page/