You need to sign in to do that
Don't have an account?
Jeff Hutchinson 17
How to customize pre-chat form for snap-in chat
Is it possible to create a custom pre-chat form for snap-ins chat without using Lightning Components, Aura Components, or Visualforce? Ideally, this would be done in HTML similar to how the pre-chat is customized using liveagent.prechat methods similar to the following.
First Name: <input type="text" name="liveagent.prechat:firstName" id='firstName' /><br /> Last Name: <input type="text" name="liveagent.prechat:lastName" /><br /> Email Address: <input type="text" name="liveagent.prechat:leadEmail" /><br />While HTML is ideal, examples for any of the above methods would be appreciated.
Please refer this link
https://help.salesforce.com/articleView?id=snapins_chat_customize_prechat_form.htm&type=5
with code please refer this link
https://rajvakati.com/2018/11/13/lightning-custom-pre-chat-component-using-javascript/
Why do you prefer lightning components to HTML? I felt HTML would be a better approach because the button, pre-chat, and chat need to have design elements added by our web developers to match the theme of the company website. (It's not being hosted in a salesforce community.) I thought could be done easier in HTML. That said, we are not committed to HTML and are open to any solution that meets the requirements and offers a good user experience.
Can we customize pre-chat window? we can to reply with custom CSS from our website.
If you have any sample pre chat form please provde it to me. or please send us the link Raj