You need to sign in to do that
Don't have an account?

Any One Pls Help To write Trigger For Below Senario?
my due date is 25/10/2015. If I change it to 20/10/2015, I want to be allowed to save. If I change it to 30/10/2015, I want to get an error.
Which object you need to write trigger ,Here question is you have any staic date or you want to restrict user to select past date .Only you can change future date .
If yes then try with belwo code ,belwo code is in opportunity if you change closedate to past date it wilgive you error .
Change your object name and field name accoringly and let me know if it helps !!
Thanks
Manoj