Skip to main content
I am creating a pre-chat page for live agent, I have copied the same code from Pre-Chat Form Code Sample mentioned in live agent developer guide, just replaced the button Ids.

I placed one chat button (ID : 573g00000008Ofd) on a VF page for testing with this pre-chat page. On clicking that, the pre-chat form opens. But when the form is submitted it always redirect to this button's custom chat page, regardless of which button I select from the drop down.

<select name="liveagent.prechat.buttons">

<option value="573g00000008Ofd">Chat Button 1 </option>

<option value="573g00000008OfY">Chat Button 2 </option>

</select>

Please let me know if I am missing something or some other code needs to be incorporated to get redirected to respective custom chat pages of the buttons.

 
5 réponses
  1. 8 nov. 2016, 18:33
    Hi Sonal,

    Di you find solution on how or where to host pre chat form to transfer the info to the agent? I am having hard time figuring out that.
0/9000