Plain JS

Start of documentation content

Formally supports non-React integration through a plain JavaScript API.


  • A published form made in the Formally form builder


In the form builder interface click published

<div data-formally="your-form-id"></div>
<script src=""></script>
<link href="" />

Replace the your-form-id with your form id which can be found in the Publish modal in the form builder.


The Plain JS SDK is under development.

We're considering an API such as this, where formally-your-form-id is the string formally- and a GUID so that configuration is namespaced.

window['formally-your-form-id'] = {
  onAutoSuggest: () => {},

If you'd like early access, or you have comments about plain JS integration, please contact support.