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
Shweta Tiwari 7Shweta Tiwari 7 

Update a record by Visualforce Email Template

Hi I have a requirement where I have to update a field in Custom Object when I click on a Custom Button(it's an HTML Component) in my Visualforce Email Template. I have added a Component and Controller in the Email Template but I am not able to track the action as form tag is Command Button is not supported. Can anyone faced this issue earlier.

Please help!!
Akshay DeshmukhAkshay Deshmukh
try using actionFunction or post some code here to be able to help you
Shweta Tiwari 7Shweta Tiwari 7
Thanks Akshay but I cannot use actionFunction as it should be inside Form Tag and Form Tag is not supported inside Email Template.
I am using a VF Component in Email Template and my form Tag is inside Component but when I am saving Code related to Email Template, getting error that form Tag is not supported.