function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
venkat.kvenkat.k 

plz help me

how do i write visualforcec code for this scenario...

 i have one vf page in that page i have insert data then after i click the next button when i click the next  button go to the next page in that page also i enter the data after that in page i have  another next button when click the next button go to another page in that also enter the data in that page save button is there when i have click on save button total three pages data insert  into the object

 

 

 

 

Advanced Thanks

Best Answer chosen by Admin (Salesforce Developers) 
asish1989asish1989

HI

Please go through this link , I think you will get solutions.

 

http://www.salesforce.com/docs/developer/cookbook/Content/vf_wizard.htm

 

Did this post amswers your question,if so please mark it as solved and hit kudoas icon for this post.

 

Thanks

 

All Answers

harika78harika78

What is the information you are trying to load...

 

In page 1 VF :

 

 put all the fields you need to enter data into, when you click a next  button call an action function which returns the page reference like below:

 

PageReference pg = Page.page2;

pg.setRedirect(true);

return pg;

Devendra@SFDCDevendra@SFDC

Hi,

 

You can refer this example. It creates the salesforce wizard with multiple vf pages.

 

Hope this helps :)

 

Thanks,

Devendra

Mudasir WaniMudasir Wani

HI Venkat,

 

Use one class in all your visualforce pages.

Use controllar variables  to store data entered from different pages.

Then on save button action do the actuall save operation.

 

Regards,

Mudasir

asish1989asish1989

HI

Please go through this link , I think you will get solutions.

 

http://www.salesforce.com/docs/developer/cookbook/Content/vf_wizard.htm

 

Did this post amswers your question,if so please mark it as solved and hit kudoas icon for this post.

 

Thanks

 

This was selected as the best answer
venkat.kvenkat.k

thanks for all replies...

 

 

 i got the solution