## Jotform Embed

Connect the Jotform Embed

### Overview

Assembly makes it simple to embed a Jotform directly within your portal. Jotform features form design, where users can design customized forms using a drag-and-drop interface.

### App Setup

01. Go to _App Library_, and click _\+ Add an app_ in the top right corner.

02. Select _Jotform_ in the _Client-facing_ section.

03. After clicking on the app, click on _Install_ in the top-right.

04. Give the app a name and icon, and configure whether all clients can see it or only a subset.

05. We recommend setting this up as an **automatic** App so that your Jotform will be visible to all clients. If you only want this app to be visible to one or more specific clients, set this as a **manual** app.

06. Leave the app set to as _Show as embed_ so that the client isn't directed outside of the portal.

07. Next, go to your _My Forms_ page in Jotform.

08. To share a Form, click the drop-down menu for the desired form and click _Publish Form_.

09. Click _Embed_ in the top menu and then in the right dropdown, select _iframe_.

10. Click the _Copy Code_ button.

11. Go back to the _App Setup_ page and paste the iframe code into the content box.

12. Click _Add_ to be redirected to the app.

#### Additional configuration

With this app, the _Copy link_ method has a scrolling error. We recommend only using the iframe code provided by Jotform.

Occasionally the code provided by Jotform will not fill the full screen due to the settings provided in the Jotform iframe code. To fix this issue, you'll want to do the following:

1. Near the top of the iframe code there's a line that says:

```
style="min-width:100%;max-width:100%;height:539px;border:none;"
```

2. Update the height in that style to be 100%:

```
style="min-width:100%;max-width:100%;height:100%;border:none;"
```

To preview the app as a client, click Portal at the bottom of the sidebar and click Open portal. Once you're logged in as your test client you'll be able to view the connected app.

#### URL Parameters

You can pre-fill your Jotform using your client or company data and custom fields using URL parameters. Please see our article [here](/content/guide/intro-to-apps#url-parameters/index.html) on how to configure URL parameters.

In Jotform, if you click on a field in your form while in the **Build** section, you should see a gear icon where you can modify the settings for the field.

Under _Advanced > Field details_, you'll see the **Unique name** for the field. This is the name you will want to enter in the URL parameter input when setting up the app in Assembly. Then, select the related property from the dropdown that appears when clicking the related Property input.
