Web component to easily embed public forms
2024-02-04
news
A web component is now available to easily embed a MyOwnDB public form in your website.
After loading a single javascript file in your page, you can embed a public form with the custom element <myowndb-form>
, like this (this code embeds the contact form of this website):
<myowndb-form src="https://app.myowndb.com/app/entities/public_form/838"></myowndb-form>
This embeds an iframe
in your page, which is dynamically resized according to your page layout.
Further details are available in the component’s README.