Current Page URL: https://docs.widgetkraft.com/available-widgets/contactform-widget

Contact Form Tool

The Contact Form Tool lets you collect structured leads, inquiries, and messages directly from your website without building backend logic or managing multiple form tools.

Pricing 0.4 credit / submission

You can fully customize

Fields and validation
Visual design and theme
Button labels and text
Embed behavior

All submissions are captured inside your WidgetKraft dashboard.

Quick Start

Copy the snippet for your stack and paste it into your project your contact form is live in under a minute.

HTML

Paste this snippet into any HTML file before the closing </body> tag.

1<!-- 1. Add this where you want the contact form to appear -->
2<div id="contactform-root"></div>
3
4<!-- 2. Load the widget script -->
5<script src="https://cdn.widgetkraft.com/contact.js"></script>
6
7<!-- 3. Initialize with your Widget ID -->
8<script>
9  ContactFormWidget.init({
10    widgetId: "YOUR_WIDGET_ID",
11    mode: "inline"
12  });
13</script>
TIPReplace YOUR_WIDGET_ID with the ID found in the Code tab of your contact form editor. Change mode to "popup" to show the form as an overlay instead.

Creating a Contact Form tool

Four steps from the dashboard.

  1. 1Go to All Tools -> Contact Form
  2. 2Click + Add Tool
  3. 3Go to My Tools -> Contact Form
  4. 4Click Configure
WidgetKraft: creating a Contact Form tool
Dashboard - creating a new Contact Form tool

The form editor opens with a live preview on the left and controls on the right. Every change updates the preview instantly.

Understanding the form editor

Three core areas.

Fields

What data you collect

Design

How the form looks

Code

How you embed it

1

Fields tab

Control the structure of your form.

What you can control

  • Add, remove, and reorder fields
  • Choose field types like Email, Text, and Textarea
  • Set labels, placeholders, and required states
Field settings panel
Field settings panel

Best practice

Keep forms short, usually three to five fields, to improve submission rates.
2

Design tab

Adjust text, presets, and final appearance.

Form editor with live preview
Editor with live preview
Theme presets and customization
Theme presets and visual customization
Live preview of the final form
Live preview of the final form

Useful adjustments

  • Form title and subtitle
  • Submit button label
  • Preset themes and manual color adjustments
  • Background and text contrast for readability
3

Code tab

Copy the embed snippet and publish.

Contact Form code tab
Embed code and copy flow

Using the embed code

  1. 1Open the Code tab and copy the generated snippet
  2. 2Paste it into the page section where the form should appear
  3. 3Publish the page and start collecting submissions immediately

Summary

The Contact Form Tool lets you:

Build and deploy forms quickly
Customize fields, labels, and styling visually
Copy one script and embed without backend setup
Capture submissions inside your dashboard
Keep forms short and conversion-focused
Update the experience without changing the embed code