Setup Guide

Everything you need to get Limit Form Submissions running on your HubSpot portal.

Table of Contents

Prerequisites

HubSpot forms have no native submission limit, which is what this app adds. If you're still weighing your options, see can HubSpot forms limit the number of submissions?

Before you begin, ensure you have:

  • A HubSpot account with App Marketplace permissions.
  • An existing HubSpot Form created in your portal.
  • Access to the HTML/CMS of your website where the form is embedded.

Install and Connect the App

  1. Navigate to the HubSpot App Marketplace and search for Limit Form Submissions.
  2. Click Install App.
  3. Choose the HubSpot portal you wish to connect.
  4. Review the requested permissions and click Connect App.
  5. That's it — your free 7-day trial starts automatically. No credit card is needed, and every feature is unlocked.
  6. You'll be taken straight to the app's settings page in HubSpot.
HubSpot OAuth screen for connecting the Limit Form Submissions app

Navigate to the App Dashboard

  1. After connecting, you'll be redirected to the Limit Form Submissions Dashboard.
  2. Here, you'll see a list of your HubSpot forms.
  3. If no forms appear, ensure your HubSpot account has existing forms and your OAuth permissions are correctly configured.
HubSpot Connected Apps page showing the Limit Form Submissions app installed

Configure a Form

  1. Find the form you want to cap in the Form Submission Limits table.
  2. Set Max submissions — the number at which the form will close.
  3. Enter your Limit message — the text shown to visitors after the limit is reached (e.g., "Sorry, this event is now fully booked.").
  4. Switch Limit active to On. The limit only applies once this is on.
  5. Click Save.
The Form Submission Limits dashboard showing the maximum submission count and closed message fields for each form

Embed the Tracking Script

To enable real-time submission tracking, add the Limit Form Submissions script to your website — on any page where your HubSpot form is embedded.

Add the following <script> tag just before the closing </body> tag of your page:

<script
  src="https://lfs-api.incodestudios.co.uk/form-limit-check.js"
  data-hub-id="YOUR_HUBSPOT_PORTAL_ID"
  data-form-id="YOUR_FORM_ID"
></script>

The easiest way to get it is to click Embed code next to the form in the app — the snippet is generated with your Portal ID and Form ID already filled in. One snippet per form.

The Embed code panel showing the tracking script snippet to paste into your website

Test Your Setup

  1. Open the page where your form is embedded in a browser.
  2. Submit the form until the configured limit is reached.
  3. Verify that on reaching the limit, the form is replaced with your custom closed message.
A webpage showing the custom closed message after the form submission limit was reached

Tips

  • Use a low test limit (e.g., 2) to verify behaviour quickly, then update to your real cap.
  • Check your browser console for any errors if the script does not activate.

Troubleshooting

Form is not closing after the limit is reached

  • Confirm the script tag is placed before </body> on the same page as the form.
  • Verify data-hub-id and data-form-id match the snippet from the app's Embed code button.
  • Check that Limit active is switched On for the form.
  • Check the app Dashboard to confirm the form is configured and saved.

Dashboard shows no forms

  • Ensure your HubSpot account has at least one active form.
  • Try disconnecting and reconnecting the app via HubSpot > Settings > Connected Apps.

Submissions exceed the limit slightly

  • Due to API latency and concurrent submissions, a small margin of error is possible. This is noted in the Terms of Service.