You need to sign in to do that
Don't have an account?
Jonathan Wolff 7
Fill in fields in pdf site
Hello, I build a Tab to create pdf with account fields. Now I would like to make fill in fields that can be changed (I saw something like that on the internet) Could you tell me how to change my visualforce code so the fields are fillable or changeable?
<apex:page standardController="Account" renderAs="pdf">
<h1>Willkommen bei der APP!</h1>
<p>Vielen Dank, <b><apex:outputText value=" {!Account.Name}"/></b>, dass Sie sich für uns entschieden haben.</p>
<p>Ihre Daten:</p>
<table>
<tr><th>Account Name</th>
<td><apex:outputText value="{!Account.Name}"/></td>
</tr>
<tr><th>Account Rep</th>
<td><apex:outputText value="{!Account.Owner.Name}"/></td>
</tr>
<tr><th>Customer Since</th>
<td><apex:outputText value="{0,date,long}">
<apex:param value="{!Account.CreatedDate}"/>
</apex:outputText></td>
</tr>
</table>
</apex:page>
<apex:page standardController="Account" renderAs="pdf">
<h1>Willkommen bei der APP!</h1>
<p>Vielen Dank, <b><apex:outputText value=" {!Account.Name}"/></b>, dass Sie sich für uns entschieden haben.</p>
<p>Ihre Daten:</p>
<table>
<tr><th>Account Name</th>
<td><apex:outputText value="{!Account.Name}"/></td>
</tr>
<tr><th>Account Rep</th>
<td><apex:outputText value="{!Account.Owner.Name}"/></td>
</tr>
<tr><th>Customer Since</th>
<td><apex:outputText value="{0,date,long}">
<apex:param value="{!Account.CreatedDate}"/>
</apex:outputText></td>
</tr>
</table>
</apex:page>
Please check out below thread where similar attempt have been made to make VF page editable and renderas PDF:
https://developer.salesforce.com/forums/?id=906F0000000AxlAIAS
You might want to give a try with some modification with the same logic and check if its works for you.
Otherwise, you may look for alternatives available on AppExchange like PDF editor as of them on below link:
https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000EVIvHUAX
Hope above information helps. Please mark as Best Answer so that it can help others in future.
Thanks.