You need to sign in to do that
Don't have an account?
cignus
contact name and address components
Hi
I want to create a VF page for contact.( I need to remove some fields and add some extended functionality)
When I add <apex:inputField value="{!contact.name}"> what I get is a label and no input field, but in the standard contact layout you can move the name field and it creates a combo box (salutation) and firstname and last name.
The same happens for the address.
How can use the name and address component in my own VF page?
Cheers
Again, visualforce taxes
You will have to create a small table in that column.
Here is the code from the standard edit page:
<tr>
All Answers
You have to create them individually in VF the VF page
But isn't there a way to use the components SF is already using?
It looks ugly when I create them individually, specially the way salutation stays as a independent field with a label.
The definition of the name field in contact is strange. You have the name field and there are 3 different fields under it with data types instead of field names.
Again, visualforce taxes
You will have to create a small table in that column.
Here is the code from the standard edit page:
<tr>
Thanx
Oh and i believe the field names are:
Salutation
FirstName
LastName
Use the schema explorer in Eclipse or some other explorer or trial and error to find out for sure.