You need to sign in to do that
Don't have an account?
Motoki
How to display Contact Name field on Visual Force page?
Dear All,
I just started learning Apex and Visualforce page and i'm trying to make a simple form that send the Salutation, First Name and Last Name and save it in the Contact object.
However, i don't understand how to display the Contact.Name field like the edit Contact page under the Contacts tab where you have a Salutation dropdown list, First Name input field and a Last Name input field.
Could somebody be so kind to give me an example please?
Thank you very much for your advice.
Best Regards,
Motoki
http://www.salesforce.com/us/developer/docs/cookbook/index.htm look for visualforce.
All Answers
http://www.salesforce.com/us/developer/docs/cookbook/index.htm look for visualforce.
Thanks mate, this documentation might have what i need.
How do you handle the Address Type for visual force page? For example, how do you split the Account.BillingAddress type into, street1, street2, suburb, state, postcode etc?
Many thanks.
Motoki
Hi Steve,
I tried one of the example on this cookbook:
But it gives me the System.QueryException: List has no rows for assignment to SObject class.mySecondController.getAccount: line 3, column 16 External entry point exception...
I don't understand why it has no rows, i have some contacts and accounts created in my org... Any ideas please?
Thank you very much for your advice
Best Regards,
Motoki
Nevermind, i have found the reason and fixed it. thanks!
Hi,
Can you please tell me what changes did you make to sort out the error?
I am quite new to the VF and Apex
ish
What was the error? & how did you fix it?