You need to sign in to do that
Don't have an account?
Nam Ho Kim
Trailhead Challenge: Inputting Data Using Forms
Hi,
I have a code written in Visualforce - developer console page, but it's not displaying any preview nor allowing me to pass the challenge - I assume that I've made some error on this..
The task given for this challenge as follows:
Create a Visualforce form which inserts a basic Contact record
Using the Visualforce apex:form component, create a page which will insert a Contact record based on First Name, Last Name and Email. After submitting the form, the user should be redirected to detail page of the new Contact record.The page must be named 'CreateContact'.
I have a code written in Visualforce - developer console page, but it's not displaying any preview nor allowing me to pass the challenge - I assume that I've made some error on this..
The task given for this challenge as follows:
Create a Visualforce form which inserts a basic Contact record
Using the Visualforce apex:form component, create a page which will insert a Contact record based on First Name, Last Name and Email. After submitting the form, the user should be redirected to detail page of the new Contact record.The page must be named 'CreateContact'.
- It must reference the Contact standard controller.
- It must use a Visualforce apex:form component.
- It must have an apex:inputField component bound to the Contact First Name.
- It must have an apex:inputField component bound to the Contact Last Name.
- It must have an apex:inputField component bound to the Contact Email.
- It must have an apex:commandButton component that uses the 'save' method from the standard controller.
All Answers
Hope this will help you solve this trailhead. Please save couple of times before preview of the page
Thanks
Sai