Answer the question
In order to leave comments, you need to log in
How to integrate envyCRM and Contact Form 7?
Tell me how to integrate CRM from Envybox with the Contact Form 7 plugin.
Given the following code
<script>WBK.sendCrmLead(630, {'name' : name, 'email' : email, 'phone' : phone, 'comment' : comment});</script>
Answer the question
In order to leave comments, you need to log in
you need to add an Events
callback to the successful form submission event
like this
document.addEventListener( 'wpcf7mailsent', function( event ) {
var inputs = event.detail.inputs // отсюда достаем значения полей формы
WBK.sendCrmLead(630, {'name' : name, 'email' : email, 'phone' : phone, 'comment' : comment})
}, false );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question