1
chenjingwu
2024-05-24 ab5a982874f88556b72e02177fa88dedc2d56fe8
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>