Add

Lorem ipsum

Lorem ipsum

A
A
A
Design

0 views

4 min

How to Disable the First Option in a Select Input in Webflow

In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how and why to disable the first option in a select input in Webflow.

BenefitDescription
Intentional choicePrevents the default value from being submitted
Better data qualityAvoids accidental submissions
Improved UXMakes it clear that a selection is required

Why disable the first option in a Webflow select input?

1. Force the user to make an intentional choice

By disabling the first option, which can be an instruction like "Please select an option," you force the user to make an explicit choice instead of letting a default value be submitted. That way, they won't skip over the selection step.

2. Avoid accidental submissions

A default option could be submitted by mistake if the user isn't paying attention. By disabling that first option, you reduce the risk of incorrect or incomplete submissions.

3. Guide the user and increase your conversion rate

This improves the user experience by clearly showing that the user needs to select one of the available options. It can reduce confusion and improve the quality of the data submitted.

How do you do it in Webflow?

1. Add this custom code to your page

2. Add the ID "select-id" to your select

3. Publish and test the result

good to know

Alternative without JavaScript: add the first option with the value '' (empty) and enable the required attribute. The HTML5 form won't submit if the value is empty, with no extra code needed.

Bonus: If you have multiple selects

1. Use this custom code

You can add as many selects as you want, you just need to add

good to know

disableFirstOption("select-id");

By updating the ID with the ID of your new select

Good to know

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet consectetur.

Lorem ipsum dolor sit amet consectetur. Aliquam orci sagittis dignissim sapien praesent donec.

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Published on 10.04.2025

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...