Classic Forms - Form Code
Overview
MachForm is designed to create forms that can be integrated easily with your website. Using the multiple embed code options, you will be able to use the form in your site using any method you are familiar with.
The Interface
The code manager displays multiple form codes that you can easily copy and paste into your web page. By changing the “Form Code Type” dropdown, different embed code options will be displayed to suit your needs.
Choosing a Form Code
There are six embed codes you can choose to use in the form. These are JavaScript Code, IFrame Code, PHP Form File, PHP Form Code, Simple Link and Popup Link. Depending on your website and the CMS you are using, one embed code might prove to be better than the others.
Using JavaScript Code
The JavaScript Code is the recommended code to embed the form in your web page. Using this code, the form will blend seamlessly with your web page and most people won’t even notice it. Under the hood, the JavaScript code basically displays your form inside an iFrame. However, the JavaScript is smart enough to expand the height of your iFrame as needed. As this code is intended to integrate the form into your existing web page seamlessly, the form’s background, border, and logo header won’t be displayed.
Using iFrame Code
If you are using CMS that doesn’t allow the use of JavaScript code, then this iFrame code should be your second choice. You might need to adjust the height of the iFrame manually so that the Submit button of your form can be displayed properly.
On this page