Last active
October 15, 2024 21:13
-
-
Save proweb/619ec9058c492aff304e060fd99a19a9 to your computer and use it in GitHub Desktop.
Как разместить две формы Битрикс 24 на сайте.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="my_container"></div> <!-- Form container --> | |
<!-- JS code from CRM Bitrix24 --> | |
<!-- Added "node" parametr --> | |
<script id="bx24_form_inline" data-skip-moving="true"> | |
(function(w,d,u,b){w['Bitrix24FormObject']=b;w[b] = w[b] || function(){arguments[0].ref=u; | |
(w[b].forms=w[b].forms||[]).push(arguments[0])}; | |
if(w[b]['forms']) return; | |
s=d.createElement('script');r=1*new Date();s.async=1;s.src=u+'?'+r; | |
h=d.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h); | |
})(window,document,'http://cp.silaev.bx/bitrix/js/crm/form_loader.js','b24form'); | |
b24form({"id":"6","lang":"ru","sec":"ivscxd","type":"inline", "node": document.getElementById('my_container')}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Mr Sergey Mochalov @proweb,
I need a help. I copied this code and I changed the link. Every thing is working but the form is 2 times loading.
Why could it be ? can you help me please