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
LianaLiana 

(Urgent)Partial Dynamic Fields

Hi all..

 

I want to display fields dynamically based on the chosen value in other field of picklist. I'm trying out one of the example here: http://www.salesforce.com/docs/developer/cookbook/Content/vf_dynamic_page_update.htm.

 

It works fine is you access the visualforce through URL https:salesforce-instance/apex/visualforcepage?id=....

 

But I just wanna incorporate the dynamic fields to the existing object and its layout so I just dragged the visualforce page. Result: Visualforce section works in the View, but outside that section the fields that should be hidden statically appear. When I click Edit, visualforce section not there, the dynamic fields still appear.

 

Does this mean that when we want to have partial dynamic fields, we have to re-create and copy EVERYTHING from the object to the Visualforce page??

 

THanks guys in advance

Avidev9Avidev9

Why dont you just remove the dynamic fields from the page layout and let them displayed using VF page. Well if they need to be displayed in edit more I fear that you have to create the whole edit page.