How-To / Developer Reference

Include Snippet

The following snippet must be integrated in the markup:

<script src="https://flyingforms.io/Forms/FormRenderer/JavaScript"></script>
                            
<script type="text/javascript">
   flyingformsRender.renderForm({
        host: "https://flyingforms.io",
        formId: "UUID",
        formVersionId: "UUID", 
        stylesheet: false, 
        approved: false
   });
</script>

flyingformsRender.renderForm Options

Key Type Description Required
host Uri format The uri will be used when the form is submitted. Required
formId UUID The form id is used to fetch the latest form definition. Required
formVersionId UUID Choose a specific form version. The approved state will be ignored Optional
stylesheet boolean The assigned on your form will be loaded. Optional
approved boolean Use state specific latest form version. Optional