+ Start a Discussion

How can I have enterable field and display values from SFDC in Visualforce Email Template ?


I tried to put the input field and entered the value while sending the email but those values are not embebed with the email.

Am I doing something wrong?


Here is my code.

<messaging:emailTemplate relatedToType="Opportunity" subject="opportunity report for  : {!relatedTo.name}">
<messaging:htmlEmailBody >
<table >
        <th> Name </th>
        <th> CloseDate </th>
        <th> Stage Name </th>
           <td><input name="test" type="textbox" maxlength="20"/></td>


Ankit AroraAnkit Arora

I don't think you can send values like this. You can only use merge fields to do so.




Ankit Arora

Blog | Facebook | Blog Page