InputDock

Forms

Start from a template. Embed it in two lines.

Pick a ready-made form, edit it in the builder, and paste the snippet. Or post from your own backend. Everything ends up in the same submissions inbox.

Embed & API

Two lines in the browser. One endpoint on the server.

index.html
<div data-inputdock="pk_your_public_key"></div>
<script src="https://cdn.inputdock.com/v1/embed.js" async></script>

Using React, Next.js, Astro, WordPress, Webflow or Shopify? See the framework guides. Server-side examples in Node and PHP are in the API reference.

The public key is safe to publish. The private key is only for server-to-server posts, so keep it out of the browser.

Widget options

Every option is optional.

The full list, with prefill, styling and CSS variables, is in the Integration guide.

  • data-themelight | dark | auto

    Widget colour scheme. Auto follows the visitor’s system.

  • data-accent#8ac926

    Overrides the accent colour set on the form.

  • data-radius12

    Corner radius in pixels.

  • data-values{"ref":"x"}

    Prefill fields; also feeds hidden fields.

  • data-css/my-form.css

    A stylesheet loaded inside the form, for custom field classes.

Events

Listen from your page.

Events bubble up from the element you placed, so you can track conversions or close a modal. Event details.

  • inputdock:ready

    The form has loaded and rendered.

  • inputdock:submitted

    A submission was accepted. detail.id holds its id.

  • inputdock:error

    Loading or sending failed. detail has status and message.

Protection

Spam defences on by default.

Exact limits and error codes are in the API reference.

Templates

Start from a form that already works.

Every template is fully editable in the form builder and ready to embed. Pick one, change the questions, publish.

  • contact-us
    Simple

    Contact Us

    A classic contact form: name, email and a message.

  • quick-feedback
    Simple

    Quick Feedback

    Collect a rating and a short comment from visitors.

  • event-rsvp
    Simple

    Event RSVP

    Let guests confirm attendance, bring a plus-one and share dietary needs.

  • support-request
    Simple

    Support Request

    Triage incoming support tickets by category and priority.

  • job-application
    Multi-step

    Job Application

    A three-step application: about the candidate, experience and links.

  • customer-onboarding
    Multi-step

    Customer Onboarding

    Learn about a new customer in steps: company, goals and preferences.

  • lead-qualification
    Conditional

    Lead Qualification

    Ask follow-up questions only when they apply: company details for businesses, budget for buyers.

  • return-request
    Conditional

    Return & Refund Request

    Shows only the questions that match the reason for the return.

Documentation

Go deeper.

Keys live in the dashboard

Copy the exact snippet for any form.

Each form’s edit page shows its embed code with the right public key already filled in, and lets you rotate the public and private keys.

Sign in