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

FIled Update when value in picklist changes



     I have a picklist (named select_option) with 4 values .., like a,b,c,d. and i want to have date & time whenever a value in picklist changes.., like initially if i select 'a' then our date & time should be today's date and time.., and whenever the value changes to any of the options.., then date & tme should be updated to that corresponding date & time..,


Thanks in advance.., quick repiles much appreciated.., its very urgent..,



You should be able to do this with the formula field of the type date time and with the help of isChanged() method on your picklist you should be able to populate the value of your datetime field. If this doesn't work then you should write a trigger and check if the value of the picklist changes then update your date/time field with


[do mark it as a solution or give kudos if you think i helped you any bit. ;) ]