Home
/
Kits
/
Character Count

Add a character counter to any field input

Adds a live character counter to any form field. As the user types the counter updates in real time. When the limit is reached the input stops accepting new inputs.

Tutorial coming soon
Text input box with the prompt 'What would you like to say?' and a character count showing 0 out of 300.

Webflow's native form fields give users no indication of how much they have typed or how much space they have left. There is no built-in character counter, no way to set a visible limit, and no warning state when a user is approaching or has exceeded the allowed length - without writing custom JavaScript or adding a third-party tool.

The Fractional Character Count Kit solves this with a single lightweight script and a set of custom attributes applied directly in the Webflow Designer.

Here is what you need to know:

  • The Fractional Character Count Kit works by wrapping your existing form field and a text element in a parent div. No changes to your form structure, no JavaScript knowledge required, and no impact on how Webflow handles form submissions.
  • The counter updates on every keystroke in real time. As the user types the count element reflects the current character total instantly - no delay, no page interaction required.
  • Setting a character limit is optional. When a limit is set the counter displays remaining characters rather than total characters typed. When the limit is reached the field stops accepting new input automatically.
  • The warning state is fully yours to design. When a user hits the character limit, the Kit applies a CSS class to the counter element. Style it however you want directly in Webflow — change the colour, add an icon, or animate it.
  • Multiple instances work independently on the same page. Each counter group is isolated so a form with three fields and three counters behaves exactly as expected with no interference between them.
  • This Kit is fully GDPR, CCPA, and PIPEDA compliant. It sets no cookies, makes no external requests, and collects no personal data of its own.

This Kit is GDPR Compliant

Fractional multi-step form Kit is classified as essential functionality. It sets no cookies, uses no localStorage, makes no external requests, and collects zero personal data. It can be safely excluded from your cookie consent configuration.

Step 1

Add this <script> inside the <head> tag of your page

This script is the universal script: you only need to include it once, even if you have multiple instances on the page.

<!-- This script is to add a live character counter to form fields - Managed by Fractional Creative -->
<script data-fc="formchar" data-fc-version="1.0.0" data-fc-consent="essential" src="https://cdn.fractionalcreative.io/kits@1/kits.js"></script>
Copy Script
Copied!
Step 2

Build your form as usual

On your website, add a form to your page and build all of your fields inside it as you normally would.

Step 3

Add these required custom attributes to the elements

Build your group
Defines the which field the counter is for
Point to the form field
Defines the form field you want counted
Build your counter
Defines what text element shows the counter
Optional fields
Optional Step(s)
Set a character limit
Let users know how many characters remain

Need support?

Our team will be happy to assist you.

Tutorial Coming Soon
Get Support

Without the Kit

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

With the Kit

xx
xx
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Frequently asked questions

Everything you’re probably wondering.

Does this work on both input fields and textareas?
Will setting a character limit affect what gets submitted to Webflow?
Can I have multiple character counters on the same form?
Can I style the counter however I want?
What happens if no character limit is set?
Can I use this with Webflow CMS?
What happens if the script fails to load?
Does it work with required fields?
Is it GDPR compliant?

Need more than a Webflow Kit? Hire a Digital Agency.

Fractional Creative is a digital agency. We build Webflow websites, design brands, manage Meta and Google ad campaigns, and build custom automations, and more. Start saving with Fractional services.

Young man with dreadlocks sitting on a wooden bench outdoors typing on a laptop, with green foliage in the background.