NAV
javascript

.setDescription()

var description = 'Hello! I need help!';
SnapEngage.setDescription(description);

Pre-populate the 'Description' field on the prechat form. (The description is still editable by the visitor.)

Parameters

Parameter Type Description
description String The message you would like to pre-populate the description field with. The description will still be fully editable by your visitor, but this might make it easier for your agents to know what your visitors are asking after, since many visitors may not bother to enter a problem description or request in the first place.