> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.getomnify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to setup Contact Form as a widget?

# Contact Form Widgets Setup Guide

## Accessing Widgets
Follow these simple steps:
1. Log in to your **account**.
2. Go to **Settings**.
3. Select **Widgets**.
4. Choose **Create Iframe** to add the contact form widget.

# Creating an Iframe Widget
## Step 1: Open Create Iframe
You will see the iframe setup screen with the following options:
### Iframe Name
Enter a name for your widget.
**Example:** `Contact Us Form`
### Select Iframe Widget
Select the widget you want to display from the dropdown.
**Select** `Contact Form`
### Iframe Width (%)
Enter the width of the iframe as a percentage.
**Example:** `100`
This makes the iframe use the full available width of the section where it is embedded.

## Step 2: Configure Pre-filtered View
By default, all Services and Trainers are selected for Contact Form.

## Step 3: Update the Widget
After entering the required details:
1. Review the iframe settings.
2. Click **Update**.
3. The widget configuration will be saved.
If you do not want to save the changes, click **Cancel**.

# Step 4: Preview the Widget
Use the **Preview** section on the right side of the Widgets page to check how the widget will appear.
For example, the **Contact Form** preview displays:
* Contact information
* Location/map
* First Name
* Last Name
* Email ID
* Mobile Number
* Message
* **Continue** button
Review the preview to make sure the widget looks and works as expected before adding it to your website.

# Step 5: Get the Widget Code
After creating the iframe, the **Get the code** section displays the code required to add the widget to your website.
1. Copy the code using **Copy this code**.
2. Open your website's page editor or HTML editor.
3. Paste the code where you want the widget to appear.
4. Save or publish your website.

| **Tip:** The widget code can be pasted anywhere on your website where you want the iframe to be displayed.