You need to sign in to do that
Don't have an account?
LloydS
Page Layout with Conditional Sections
Is there a fairly easy way to create a Page Layout in cases that will display specific sections based upon criteria such as the content of certain fields within that case?
For example, I have 5 products - A, B, C, D, E, and F. I want to display sections 1 and 3 if the product is A or B. I want to display sections 2 and 4 if it's D, E, or F.
I can't use Record Types because it's possible that there would be two products selected - A and D, for instance. And in that case it would need display sections for both products.
The basic approach is generally to define each section with outputPanel or pageBlock or some other container component and then use the rendered attribure to control whether the section is displayed or not.
this may help:
http://wiki.developerforce.com/index.php/Visualforce_DynamicEditPage