Yes, you sure can! Use pop-up buttons your pages / sites - when clicked, your form will pop up as a window within the page. Use the script provided to add the button element to your page, and add your own HTML to style as you like.
To add a form as a pop-up button to your site:
Popups can be put on any element on your website that you like! Just add the attributes data-paperform-id=“my-form-name”
and data-popup-button=“1”
to make any element show your form when it is clicked.
For even finer control you can also trigger the popup programmatically by including the embed JavaScript <script src="https://paperform.co/__embed"></script>
and calling the function Paperform.popup('my-form-name')
.
If you were using jQuery, you could add something like the following to the footer scripts section:
<script>
$('#my-element-id').click(function() {
Paperform.popup('my-form-name');
});
</script>
Without jQuery, the above would look like:
<script>
document.querySelector('#my-element-id').addEventListener('click', function() {
Paperform.popup('my-form-name');
});
</script>
In both of the above, #my-element-id
is a selector for the target element.