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
- Navigate to the HubSpot App Marketplace and search for Limit Form Submissions.
- Click Install App.
- Choose the HubSpot portal you wish to connect.
- Review the requested permissions and click Connect App.
- That's it — your free 7-day trial starts automatically. No credit card is needed, and every feature is unlocked.
- You'll be taken straight to the app's settings page in HubSpot.

Navigate to the App Dashboard
- After connecting, you'll be redirected to the Limit Form Submissions Dashboard.
- Here, you'll see a list of your HubSpot forms.
- If no forms appear, ensure your HubSpot account has existing forms and your OAuth permissions are correctly configured.

Configure a Form
- Find the form you want to cap in the Form Submission Limits table.
- Set Max submissions — the number at which the form will close.
- Enter your Limit message — the text shown to visitors after the limit is reached (e.g., "Sorry, this event is now fully booked.").
- Switch Limit active to On. The limit only applies once this is on.
- Click Save.

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.

Test Your Setup
- Open the page where your form is embedded in a browser.
- Submit the form until the configured limit is reached.
- Verify that on reaching the limit, the form is replaced with your custom closed message.

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-idanddata-form-idmatch 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.