You need to sign in to do that
Don't have an account?

Using PE created new VF page for Opportunity showing wrong probability value based on stage
I have created a VF page for Opportunity, added this new vf page to Opportunity new button. When I am creating a new Opportunity, probability is showing in correct value. For example if I select the stage as "Negotiation" the probability should be "80%" but it's showing "10%". I am using PE, kindly any one tell how to resolve this and also tell any links for this. Thanks in advance, waiting for your reply.
VF Page:
>**apex:inputfield value="{!Opportunity.StageName}" required="true" id="stage" onclick="changeblock();"/>
>apex:outputfield value="{!Opportunity.Probability}" />**
Hi,
From what I see in the docs:
So the 2 are not related picklists, and changing one value will not automatically change the other.
Try to add an action in the controller where you are changing the Probability based on the StageName value, and call this with an actionsuport on the StageName inputfield.
Ty,
Adrian