I must add 5 fields on the standard task form wich will modifiy the linked account fields when a specific task is saved.

How can i do that ? Can we just include a VF page in the standard form and use a trigger to save the data ?

Thanks for the help.

  • create custom field and then use trigger or if you want to store field value temporarily then use VF page. – Tushar Sharma Feb 17 '16 at 11:03
  • If you embed a visualforce page in a standard page layout, it is treated as a separate form. You would probably want to directly include your custom fields on the page layout. – martin Feb 17 '16 at 11:19
  • 1
    @TusharSharma Thanks, yes it's the two solutions i'd seen before... – Cotral Lab Feb 17 '16 at 11:28

No need for code.

  1. Create custom fields on task
  2. Create a process on task
  3. Use the process to update the related account

Yes, You can override the New Task button and include VF page instead of standard task form.In task trigger you can check whether task is associated with account and if yes then you can update the account.

  • Then, if i use a VF page to override the standard task form, is there a way to include in my new VF page the standard task form? – Cotral Lab Feb 17 '16 at 11:23
  • Do you mean, you want to include Standard form in your custom VF page? – Master A Feb 17 '16 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.