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
Madhuri GowdaMadhuri Gowda 

Trigger to Update Start Date and End Date Based on the Picklist Field

Hello Developers

I am Trying to Design a Trigger where i have Custom Picklist Field called ('Months') where it Contains all 12 months name, Now my Requirement is that when Any Month is Selected, Start Date and End Date Should Auto populate based on Month,

Ex - If i Choose Janaury, Start Date and End Date of January Should Auto Populate in the those Start Date and End Date Fields, How Do i Achive this Functionality
Best Answer chosen by Madhuri Gowda
Jakub Kołodziej 7Jakub Kołodziej 7
I just answered simiilar question. You don't need trigger for that functionality:
https://developer.salesforce.com/forums/ForumsMain?id=9062I000000XsvAQAS