Skip to content

pokornyd/kontent-custom-element-formsite

Repository files navigation

alt text

Formsite form selector for Kentico Kontent

This repository contains the source code of Formsite form selector custom element for Kentico Kontent. Created by TrueLime

Setup

  1. Deploy the code to a secure public host
  2. Follow the instructions in the Kentico Kontent documentation to add the element to a content model.
  3. Configure the JSON parameters as detailed in the JSON Parameters section

JSON Parameters

{
    "apiEndpoint": "<YOUR API ENDPOINT>",
    "apiKey": "<YOUR API KEY>"
}

Response

After selecting a form from Formsite these are returned in an array of assets. For more information see: https://support.formsite.com/hc/en-us/articles/360000288594-API

{
    "forms": [
        {
            "description": "Internal description...",
            "directory": "form123",
            "name": "Customer Survey",
            "publish": {
                "embed_code": "<script>...</script>",
                "link": "https://fs1.formsite.com/example/form123/index.html"
            },
            "state": "open",
            "stats": {
                "filesSize": 0,
                "resultsCount": 100
            }
        }
    ]
}

Deploying

Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your GitHub account as well.

Deploy to Netlify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published