How to embed forms on website

It is possible to embed any kind of form on an external HTML page. You need to find your form name in developer panel of your application.

izzedo appbuild form

Then you open your post or page on your website and include HTML code where you want to show form from application.


<script src="http://localhost/JavaScripts/remote.js"></script>
<script type='text/javascript'>
jQuery(document).ready(function () {
  izzedoappbuild.generateFormByName(
    "formEditCustomer",     // Form name.
    null
  );
});
</script>
<div id="izzedoappbuildDiv"></div>

Link http://localhost/JavaScripts/remote.js you replace with link to your izzedo appbuild application.

It is possible to set initial values in the form. Here is the example:


<script src="http://localhost/JavaScripts/remote.js"></script>
<script type='text/javascript'>
jQuery(document).ready(function () {
  izzedoappbuild.generateFormByName(
    "formEditCustomer",
    {
      "HiddenMemberProfileMemberId": "10",
      "FieldMemberProfileFirst_name": "Test first name",
      "FieldMemberProfileLast_name": "Test last name"
    }
  );
});
</script>
<div id="izzedoappbuildDiv"></div>

Here is the example of form inserted into WordPress page:

include-html

By |December 4th, 2017|Comments Off on How to embed forms on website