You need to sign in to do that
Don't have an account?
admin 7
contact's First Name(with Salutation) in the VF page
HI ,
I wrote VF page on contact's First Name(with Salutation) on new contact page, i want disply the same as detail page can you write the code for detail page....
Code
<apex:pageBlockSectionItem >
<apex:outputlabel value="First Name"/>
<apex:outputpanel >
<apex:outputfield value="{!Contact.Salutation}" />
<apex:outputfield value="{!Contact.FirstName}" />
</apex:outputpanel>
</apex:pageBlockSectionItem>
I wrote VF page on contact's First Name(with Salutation) on new contact page, i want disply the same as detail page can you write the code for detail page....
Code
<apex:pageBlockSectionItem >
<apex:outputlabel value="First Name"/>
<apex:outputpanel >
<apex:outputfield value="{!Contact.Salutation}" />
<apex:outputfield value="{!Contact.FirstName}" />
</apex:outputpanel>
</apex:pageBlockSectionItem>
Please check the below sample code.
Visualforce page
Please check the Contact field list.
https://help.salesforce.com/apex/HTViewHelpDoc?id=contacts_fields.htm&language=en_US
Hope this helps you!
Best Regards,
Jyothsna
this code is related to New page, i want to detail page code