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

Live Agent- Pre-chat Form presisting in Live Chat Transcript



My requirement is to invoke Live Agent web chat from my official website. 

For this sake, I have created a pre-chat page with user information fields and created corresponding Custom Fields in Live Chat Transcript.

But, once the chat got completed with live agent, the updated information values are not stored in the newly created custom fields. 

I have pasted below my Pre-chat form source code for reference.




<apex:page showHeader="false" >

<!-- This script takes the endpoint URL parameter passed from the deployment page and makes

it the action for the form -->



<script type="text/javascript">

(function() {

function handlePageLoad() {

var endpointMatcher = new RegExp("[\\?\\&]endpoint=([^&#]*)");



} if (window.addEventListener) {

window.addEventListener('load', handlePageLoad, false);

} else { window.attachEvent('onload', handlePageLoad, false);




<form id="prechatForm" method="post">


<table align="center" cellspacing="5">

     <tr><td class="labelInput">Nome*:</td><td><input name="" type="text" maxlength="50" id="prechat_field" style="formTextBox"/></td></tr>

     <tr><td class="labelInput">E-mail*:</td><td> <input name="liveagent.prechat:email" type="text" maxlength="50" id="prechat_email" style="formTextBox"/></td></tr>

      <tr><td class="labelInput">CPF*:</td><td><input name="liveagent.prechat:CPF" type="text" maxlength="14" id="prechat_cpf" style="formTextBox"/></td></tr>

         <tr><td class="labelInput">Telefone*:</td><td><input name="liveagent.prechat:Telefone" type="text" maxlength="15" id="prechat_telefone" style="formTextBox" /></td></tr>

         <tr><td class="labelInput">Assunto:</td>


         <select name="liveagent.prechat.Type" style="formComboBox">

            <!-- Values are LiveChatButton IDs. -->

            <option value="Promoções">Promo&#231;&#245;es</option>

            <option value="Reclamações">Reclama&#231;&#245;es</option>

            <option value="Informações">Informa&#231;&#245;es</option>

            <option value="Sugestões">Sugest&#245;es</option>




     <table cellpadding="0" cellspacing="10" align="center">


         <td width="25%">&nbsp;</td>

         <td> <input type='submit' value='Request Chat' id='prechat_submit' /></td>








 <!-- Creates an auto-query for a matching Contact record’s Email field based on the

value of the liveagent.prechat:Email field -->

<!--input type="hidden" name="liveagent.prechat.query:Email"

value="Contact,Contact.Email" /-->

<input type="hidden" name="" value="CustomerName__c" />

<input type="hidden" name="" value="customer_Email__c" />

<input type="hidden" name="" value="CPF__c" />

<input type="hidden" name="" value="Telephone__c" />

<input type="hidden" name="" value="Type__c" />





With Regards,



are you able to solve this?  let me know if you are still not. 


are you able to solve this?  let me know if you are still not. 


I have one requirement to Transfering chat from One Agent to another Agent in the skills and to create a new case and attached the LiveChat Transcript in the Related List of Case Object.

I can able to transfer the chat from one agent to another agent. Case was created sucessfully and LiveChat Trasncript is not attached to Realted List of Case object.

Could you please provide  any tips / solution for this issue.

With Regards,
Guy KeshetGuy Keshet
Hi Vetrivel
I have the same issue as you, and was not able to find a solution. 
SFDC support advised me that 'this is working as designed'.
If you found a solution please let me know, otherwise, please vote on this idea to solve this issue: