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
Chris - ARIChris - ARI 

Replace New Task Button With Visualforce Page

I am trying to create a new button which mimics the same exact features as the new task button. I want to use visualforce for this as well.

There are a few problems I came across which I can not seem to figure out.

1. Assigned To Field does not autopopulate.
2. Related to Account Field does not autopopulate.
3. Related to Contact Field does not autopopulate.
4. Upon saving the task it brings me to the Home tab instead of going back to the account or contact the task was created on.

How do I fix these issues?  Thanks to anyone who gives this a  shot!