+ 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.