You need to sign in to do that
Don't have an account?
Zhenyu Liu
Default Date field based on different situation
Hi,
I have a field is called "Close Date" and user want to default that field based a pick list filed. For example, the picklist is abc, the close data should be today + 10 days. if picklist is bcd, the close date should be today + 20 days.
Is there any export in coding could help me out?
Thanks in advance
I have a field is called "Close Date" and user want to default that field based a pick list filed. For example, the picklist is abc, the close data should be today + 10 days. if picklist is bcd, the close date should be today + 20 days.
Is there any export in coding could help me out?
Thanks in advance
Use the below trigger, Here I am assuming that your picklist API name is 'Type': Let me know, if you need any other help.
Thanks,
Neetu
All Answers
You may need to create seperate workflow for each of your update.
Workflow Rule Criterial
ISPICKVAL(your_picklist_field, "Picklist Value")
Select Closed date as field to update and select "Use a formula to set the new value" and use below formula.
Today() + 10
Use the below trigger, Here I am assuming that your picklist API name is 'Type': Let me know, if you need any other help.
Thanks,
Neetu