You need to sign in to do that
Don't have an account?
PS81
Field Dependency in Visualforce page
I need help on setting the field dependencies on VF page (copy of standard opportunity page)
Below is the opportunity screen and the field-dependencies are enabled for Probability - depedendant on stage , Presales - dependant on Type etc
with standard the field dependencies work fine but in the custom VF page which is the copy of the standard it doesnt work fine....as in standard eventhough the mandatory fields are not filled if i click on 'Stage' the 'Probability' field is set accordingly but in custom page it doesnt happen and i need to fill in mandatory fields for the field dependency to work...
any help to correct this please?
Below is the opportunity screen and the field-dependencies are enabled for Probability - depedendant on stage , Presales - dependant on Type etc
with standard the field dependencies work fine but in the custom VF page which is the copy of the standard it doesnt work fine....as in standard eventhough the mandatory fields are not filled if i click on 'Stage' the 'Probability' field is set accordingly but in custom page it doesnt happen and i need to fill in mandatory fields for the field dependency to work...
any help to correct this please?
Daniel Ballinger
Have you seen Adding Dependent Fields to a [Visualforce] Page (https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_dependent_picklists.htm)? It includes a number of considerations you should include when making a Visualforce page for dependent picklist fields. Including: