function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:inputField value="{!Account.Name}" />
<apex:page standardController="Account"> <apex:form> <apex:pageBlock title="My Content" mode="edit"> <apex:pageBlockButtons> <apex:commandButton action="{!save}" value="Save"/> </apex:pageBlockButtons> <apex:pageBlockSection title="My Content Section" columns="2"> <apex:inputField value="{!account.name}"/> <apex:inputField value="{!account.site}"/> <apex:inputField value="{!account.type}"/> <apex:inputField value="{!account.accountNumber}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
All Answers
Instead accountName use name then it will work and let me know
Best Regards
-Vivek
Please try below code. I hope that will help you.
Remember, for this page to display account data, the ID of a valid account record must be specified as a query parameter in the URL for the page. For example
https://Salesforce_instance/apex/myPage?id=001x000xxx3Jsxb
Please check below link for more information
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_std_actions.htm
Please check below link for binding
https://developer.salesforce.com/page/Building_Visualforce_Pages_Using_the_Standard_Controller
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_extension.htm
Please let us know if this will help you.
Thanks
Amit Chaudhary
amit.salesforce21@gmail.com