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

Go to task from opportunity through custom button
Hello All,

I am working on opportunity and I have a custom button on opportunity as GoToTask. There is custom field on the opportnuity called Test which is a picklist field. It have two values : 1-Ok and 2- Not Ok . If Test field has value as OK then once I click on GoToTask button it should take me to opportunity's NEW TASK creation activity. If Test field has value as NOT OK then there should be a message saying "You can not goto Task". Pls help me to achieve this. I think this can be done thrugh JavaScript but I am not sure how to achieve this.
Thanks.
I am working on opportunity and I have a custom button on opportunity as GoToTask. There is custom field on the opportnuity called Test which is a picklist field. It have two values : 1-Ok and 2- Not Ok . If Test field has value as OK then once I click on GoToTask button it should take me to opportunity's NEW TASK creation activity. If Test field has value as NOT OK then there should be a message saying "You can not goto Task". Pls help me to achieve this. I think this can be done thrugh JavaScript but I am not sure how to achieve this.
Thanks.
You can use code to solve your problem.
--
Thanks,
Prashant
All Answers
You can use code to solve your problem.
--
Thanks,
Prashant
Thank you so much for you reply and solution. Could you please help me how you did this? Can you refer me some good resource online thru I can understand completely.
Thanks
you can email me your question prashant90.pandey@gmail.com
--
Thanks,
Prashant