You need to sign in to do that
Don't have an account?

Help with Using fields in Custom Objects with the Inputfield command.
I am trying to design a visualforce page tha creates Account, Contact, and Opportunity records. I also am needing to send values to a custom object. The problem is that I cannot find the correct syntax to pull the field from the custom object.
for example
Standard is {!Opportunity.Name}
Custom is ???
I have read about the term "MyCustomObject__c" but cannot get it to work.
Can anyone help?
To use {!MyCustomObject__c.fieldName}
You need to have standardController="MyCustomObject__c" in your page tag
All Answers
To use {!MyCustomObject__c.fieldName}
You need to have standardController="MyCustomObject__c" in your page tag
Thank you for the help.
I am still receiving errors.
At the top of the page, I have written:
<apex:page StandardController="MyCustomObject__c"...
I receive the error message:
"Error: MyCustomObject__c does not exist"
The custom object is: MDS__c
If I substitute MDS__c, I receive the error:
Error: Unknown method 'MDS__cStandardController.step1()'
Any more thoughts?
Do you have a custom button linked to a method called "step1()" ?
You'll have to define "step1()" in a controller extension.