+ Start a Discussion
svpsvp 

VF Page: How to populate Probability & Forecast Category when Stage Change

Hi,

 

Can some one help/ give idea on how to write a Opportunity VF page to auto populate Probability & Forecast category when stageName changed. Was this possible ?,if so please give some idea / sample code.


Thanks a lot inadvance!

Best Regards,

svp

mrajmraj

Hi,

 

You can use rendered attributewith apex:outputText. Set the property to true or false based on your logic in your controller. Use that property  in rendered attribute.

For eg.

<apex:outputText rendered="{!display}">{!probabilty}</apex:outputText>

 

if display is true, probability will be displayed.

svpsvp

Hi,

Thank you for reply.  What I'm trying to do here is StageName is dynomically bind with Probability & Forecast Category as a Standard Functionality (Opportunity standard page), i.e., when StageName is changed Probability and Forecast values also change accordingly. I want to implement the same functionality with VF page, is is possible through render attribute ?,  can you please provide the code ?.

Thanks a lot inadvance!


Regards,

svp