Zopim is now called Zendesk Chat. All API functionality will continue to work as normal and the namespace will not change in the immediate future.

Javascript API

$zopim.livechat.prechatForm

Customize the pre-chat form.

Summary
$zopim.livechat.prechatFormCustomize the pre-chat form.
Functions
setGreetingsSet the greeting message displayed on the pre-chat form.

Functions

setGreetings

function setGreetings(msg)

Set the greeting message displayed on the pre-chat form.

Parameters

msgA string to be used

Example

<script>

  $zopim(function() {
    $zopim.livechat.prechatForm.setGreetings('Please introduce yourself.');
  });

</script>
function setGreetings(msg)
Set the greeting message displayed on the pre-chat form.