Enginemailer allows you to embed your form on any page of your site. In this article, you'll learn how to add an embedded form to your site and how to customise it.
Before you start:
- If you haven't created any form, create a form before begin this process.
- Without SSL encryption, your form might not working properly.
Get the embed <script>
To get the form code, follow these steps:
- After you've created a form in form builder, navigate to the Publish step.
- Click I will embed the form into my website.
- Click Copy to copy the codes.
- Paste the <script> into the HTML of your web page.
Form options
Size
The form code does not specify fixed height and width values, as such it will automatically adapt to different screen sizes. If you need to customise its responsiveness further, you can make the necessary adjustments on your WordPress website.
Position
The form will be appended to the last part of the <body> section. If you want to change the position, simply add a empty <div> with the id of optedInFormWrapper
and place into your website's HTML where you want the form to appear.
<div id="optedInFormWrapper"></div>