I have a working Live Agent pre-chat, using the snap-in on my website. I want to create a cookie that will hold the visitor's email address that they enter in the pre-chat form but I am unable to access the 'Email' form value generated by the Snap-in. Is it possible to access the form input?

I have tried: embedded_svc.addEventHandler("onChatRequestSuccess", function(data) { var name = document.getElementById("liveagent.prechat.FirstName").value; }

Thank you for any advice...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.