19626
2023-09-09 e14d6d0619330cad423f06493e3aa2371faa2a8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<apex:page standardController="Account"
    extensions="CreateRecordPrepopulatedController"
    docType="html-5.0"
>
    <apex:form >
        <apex:pageBlock title="Account details" mode="edit">
            <apex:pageBlockButtons >
                <apex:commandButton action="{!save}" value="Save" />
                <apex:commandButton action="{!cancel}" value="Cancel" />
            </apex:pageBlockButtons>
            <apex:pageBlockSection title="Account fields">
                <apex:inputField value="{!account.Name}" />
                <apex:inputField value="{!account.Type}" style="width: 130px" />
                <apex:inputField value="{!account.Phone}" />
                <apex:inputField value="{!account.NumberOfEmployees}" />
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>