The MarketHype forms library is a JavaScript library that embeds the form you create in MarketHype on your site.

For information on creating your MarketHype forms, please refer to the help center.

Embedding a form

From the MarketHype application, you can retrieve the script tag needed to embed your form.

<script async  src="<https://forms.markethype.io/client/script.v2.js>"  onload="mhForm.create({formId:'[YOUR-FORM-ID]',target:this})"></script>

The default script tag will embed the entire form and necessary elements inline within your DOM, right after where you place your script tag.

If you need more fine grained control over how and where your form is rendered, please refer to the advanced setup options.

Additional resources

Advanced form setup