Plain JS







Formally supports non-React integration through a plain JavaScript API.
Prerequisites
- A published form made in the Formally form builder
Embedding
In the form builder interface click published
<div data-formally="your-form-id"></div>
<script src="https://form-data.getformally.com/formally.min.js"></script>
<link href="https://form-data.getformally.com/styles.min.css" />
Replace the your-form-id
with your form id which can be found in the Publish modal in the form builder.
SDK
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.