Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Input Data Using Forms from (module - Visualforce Basics)
- -------------------------------------------------
- SOURCE CODE: CreateContact (Visualforce page)
- <apex:page standardController="Contact">
- <apex:form>
- <apex:pageBlock title="Edit Account">
- <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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement