[세일즈포스 개발자]
Apex - Visualforce Basic - Input Data Using Forms
monimoni
2023. 2. 22. 07:28
1. 실습과제 문제
2. 답안 코드
<apex:page standardController="Contact">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection >
<apex:inputField value="{! Contact.FirstName}"/>
<apex:inputField value="{! Contact.LastName}"/>
<apex:inputField value="{! Contact.email}"/>
</apex:pageBlockSection>
<apex:pageBlockButtons>
<apex:commandButton action="{! save}" value="Save"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
728x90