You need to sign in to do that
Don't have an account?
Vikas Kumar 135
Auto Populate field based on Input from another field on Visualforce Page
Hi Friends,
On Opportunity, I have two fields. One is LOB (Line of Business), which is a Picklist field (With Values like Managed Services, Enterprise, Partner) another Field (Rate Card) is a lookup field.
I want to Auto-populate the Rate Card Field based on the value we select for the LOB, for example, if I select "Managed Services" as LOB then I want "Rate Card X" to appear in Rate Card field.
if I select "Enterprise" as LOB then I want "Rate Card Y" to appear in Rate Card field.
Also, I want to Opportunity Name to say "Auto Populate-Please do not fill".
I want to achieve two things.
1) Opportunity Name to reflect- (Auto Created) for all the Opportunities.
2) Based on what we select in Line Of Business, I want Rate Card to get populated on UI.
Please let me know if this we can achieve using a Visualforce page?
Regards,
Vikas
On Opportunity, I have two fields. One is LOB (Line of Business), which is a Picklist field (With Values like Managed Services, Enterprise, Partner) another Field (Rate Card) is a lookup field.
I want to Auto-populate the Rate Card Field based on the value we select for the LOB, for example, if I select "Managed Services" as LOB then I want "Rate Card X" to appear in Rate Card field.
if I select "Enterprise" as LOB then I want "Rate Card Y" to appear in Rate Card field.
Also, I want to Opportunity Name to say "Auto Populate-Please do not fill".
I want to achieve two things.
1) Opportunity Name to reflect- (Auto Created) for all the Opportunities.
2) Based on what we select in Line Of Business, I want Rate Card to get populated on UI.
Please let me know if this we can achieve using a Visualforce page?
Regards,
Vikas
Refer below code:-
This is just an example, please modify it according to your requirements.
If this solves your issue, please mark it as best answer.