You need to sign in to do that
Don't have an account?
Shubham Sengar
Visualforce page Problem
Step 1:- When u click on New Button (Account Page) its goes to A VF Page where 3 fiels like Account Name ,Account Number ,Account Phone No
and one Save Button
Step 2:- When u click on Save Button (VF Page) it will goes to another new VF page Where Account Name Auto Populated With a ("Go To Contact") Button .
Step 3:- When u click on "Go To Contact" Button it will goes to contact detail page where Account Name ,Account Number ,Account Phone No will populated which we gave in Step 1.
in short New Account And Contact page Created in these 3 Step...
and one Save Button
Step 2:- When u click on Save Button (VF Page) it will goes to another new VF page Where Account Name Auto Populated With a ("Go To Contact") Button .
Step 3:- When u click on "Go To Contact" Button it will goes to contact detail page where Account Name ,Account Number ,Account Phone No will populated which we gave in Step 1.
in short New Account And Contact page Created in these 3 Step...
CustomNewButton code
<apex:page standardController="Account">
<apex:form >
<apex:pageBlock >
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="save"/>
</apex:pageBlockButtons>
<apex:pageBlockSection title="Account Information" columns="2">
<apex:inputField value="{!account.name}"/>
<apex:inputField value="{!account.Phone}"/>
<apex:inputField value="{!account.AccountNumber}"/>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>