Skip to content

Instantly share code, notes, and snippets.

@DataSolveProblems
Created September 12, 2019 16:24
Show Gist options
  • Save DataSolveProblems/75cfe5eaff1ea28ab4bf10491af1a98c to your computer and use it in GitHub Desktop.
Save DataSolveProblems/75cfe5eaff1ea28ab4bf10491af1a98c to your computer and use it in GitHub Desktop.
<apex:page standardController="Contact">
<apex:form>
<apex:pageBlock title="Add contacts">
<apex:pageBlockSection columns="1">
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment