Webflow Forms

Autocomplete / Predictive Input

Overview
Webflow Forms Basics
001
Webflow Forms Limitations & Bugs
002
Basic Form Controls
Form Select
051
Form Textarea
052
Customizing Input Controls
Customizing Radio Buttons & Checkboxes
101
Input Number & Decimal Places
102
Numeric Range Sliders
102
Multi-Select Dropdown
104
Auto-Size Textareas
110
Date Pickers
111
Forms Validation
Forms Validation Basics
200
Input Types
201
Using Regex Patterns in Forms Validation
202
Validating Phone Numbers
202
Custom Validation Errors
203
Custom JS Validation
204
Forms Validation Techniques
Validating Emails
301
Blocking Free Email Provider Addresses
302
Requiring Checkboxes
302
Address Autocomplete
302
Autocomplete / Predictive Input
302
International Phone Numbers
6:50
304
Databinding
Databinding CMS Collections to a Form Select
8:42
401
Forms Validation Techniques
3rd Party Form Handlers
401
Making Forms Dynamic
Displaying Form Parts Conditionally
14:36
501
Multi-Step Forms (MSFs)
501
SPAM Blocking Techniques
Minimizing Form Submission SPAM
600
SPAM Blocking Techniques
CAPTCHA Approaches
601
Form Handlers
3rd Party Form Handlers
901
Integrating the Basin Form Handler
902
Uploading Files
Uploading Files
950
Uploading Files with Uploadcare
951
Uploading Files with Basin
952
No items found.
Published
November 23, 2022
Updated
in lightbox

Dropdown lists are great, when you have a manageable number of items that are sorted, and which have logical names that the user can easily find what they're looking for.

When that doesn't fit your UX, a text field with autocomplete is a much better solution;

  • It can handle much larger lists
  • Sorting is not relevant
  • As the user types, any part of the text string can match, it does not need to begin with the typed characters

Solution

SA5 Autocomplete Element

There are a number of approaches to this, but Sygnal's SA5 library has a full attributes-based autocomplete solution.

https://attr.sygnal.com/sa5-elements/autocomplete-element

Made in Webflow

Also, here are several good approaches from Made in Webflow.

  • https://webflow.com/made-in-webflow/website/CMS-Autocomplete
  • https://webflow.com/made-in-webflow/website/autocompletejs
  • https://webflow.com/made-in-webflow/website/cms-predictive-search-v1
  • https://webflow.com/made-in-webflow/autocomplete

Ideally you want a solution that can be backed with CMS content, even when the length is long- up to 2,000 items.

Finsweet CMS Filter + CMS Load

This solution works quite well even for larger collections. It works well with partial text matches.

I have not tested this in relation to an autocomplete form field however, which has the added mechanics of picking one, and exposing that selected item as data within the form.

FAQs

Answers to frequently asked questions.

Videos
No items found.
Table of Contents
Comments
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.