prepopulatedPrechatFields attribute can be used to pre-populate Pre-Chat Form Fields in Salesforce Embedded Service Chat.
Sample Code:
embedded_svc.settings.prepopulatedPrechatFields = {
FirstName: "Magulan",
LastName: "Duraipandian",
Email: "magulandemo@infallibletechie.com"
};
FirstName: "Magulan",
LastName: "Duraipandian",
Email: "magulandemo@infallibletechie.com"
};
Output:
No comments:
Post a Comment