Forms

icon picker
Integrating AC Forms into Webflow

Note the Form ID in AC
image.png
Add an Embed Element into Webflow
Copy and Paste this Code Block Below
Change the _form_1 and ?id=1 to the AC Form ID

<div class="_form_1"></div>
<script src="https://coherenetwork.activehosted.com/f/embed.php?id=1" type="text/javascript" charset="utf-8"></script>
<script src="https://cdn.jsdelivr.net/gh/coherenetwork/web@main/ac-form.js" type="text/javascript" charset="utf-8" defer="defer"></script>
image.png


Forms-Intricacies

Webflow doesn’t allow us to easily do things like setting up JS and CSS files so we have to host them on github:
modified the JS code that AC provides so that we only have to copy the <form part of the Embed code and plug that into webflow. The JS is already hosted and included in the header of the site (TODO; for now have to do a separate embed for the JS file link; since the header custom code in body requires a paid plan: )
Code to Embed HTML files/forms in Webflow
<div id="ajaxContent"></div>
<script>
var Webflow = Webflow || [];
Webflow.push(function() {
$.get('https://cdn.jsdelivr.net/gh/coherenetwork/web@main/simple.html', function(data) {
$('#ajaxContent').append(data);
});
});
</script>


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.