function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
We have one vfpage with many Fields. I need to show only few fields at a time. we have next button same page. by clicking on that i need Few more Fields.
you need to use different pageblocks with rendered attributes for this
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockSection.htm
Use action funtion on next button to render next set of fields to make a wizard kind of flow
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm
You have a couple of choices for this.
(1) Conditionally render parts of the page based on where the user is in the page flow
(2) Use a wizard where the same controller instance is shared across pages
I tend to favour the second option as its easier for those coming afterwards to understand. You can get more information at:
http://developer.force.com/cookbook/recipe/creating-a-wizard-with-visualforce-pages
you need to use different pageblocks with rendered attributes for this
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockSection.htm
Use action funtion on next button to render next set of fields to make a wizard kind of flow
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm
All Answers
You have a couple of choices for this.
(1) Conditionally render parts of the page based on where the user is in the page flow
(2) Use a wizard where the same controller instance is shared across pages
I tend to favour the second option as its easier for those coming afterwards to understand. You can get more information at:
http://developer.force.com/cookbook/recipe/creating-a-wizard-with-visualforce-pages
you need to use different pageblocks with rendered attributes for this
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageBlockSection.htm
Use action funtion on next button to render next set of fields to make a wizard kind of flow
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm