Validate HTML Inputs w/ Pattern Attribute

Validate HTML Inputs w/ Pattern Attribute

Add a simple pattern and title attribute on any HTML input to only allow a specific value or part of a value to be accepted. This can be used to validate emails from a specific domain like “@example.com” or only accept links that include a specific string. The title attribute allows a custom message appear in a browser default tooltip if the email entered isn’t valid.

Within the pattern attribute we use regex to determine what value match is approved. You can use regex to match just about anything, so this general approach can also be used to match other specific values in any input.

Industries

Creators

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
5.4.23

Similar items

Advertise with No-Code Supply Co.

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

Maliha Abidi

3.14.23

Webflow Class Importer

3.14.23

Studio.Build

3.13.23

Linguana

3.13.23

Stackerr

3.13.23

Flowie

3.13.23

Gouach

3.11.23

Ebda Agency

3.11.23

Code & Wander

3.11.23

Relume Ipsum

3.10.23

Easy Tooltips in Webflow

3.10.23

Tippy.JS

3.10.23

MessageBird

3.9.23

Pudding Studio

3.9.23

Finsweet Developer Starter

3.9.23

Shiny Object Labs

3.9.23

Relume Icon Library

3.8.23

Welcome to SO-Framework - Framework

3.8.23

Fetch GUI for Webflow

3.8.23

Type Department

3.8.23

Expansion VC

3.8.23

Kalso

3.8.23

Electron

3.7.23

Glass

3.7.23

Le:mma Studio

3.7.23

Craze

3.7.23

Silv Peanut Butter

3.6.23

Hen³

3.6.23

GitHub Copilot Labs

3.6.23

Build AI-Generated Blog Writer In Webflow w/ GPT-3

3.6.23

Logggos

3.6.23

ScreenFlow

3.4.23

Convert Gradient CSS to Webflow

3.4.23

Automatically Track Webflow Sitemap Changes in Airtable

3.4.23

Chic. And Geek.

3.4.23

Unmask Sections While Scrolling in Webflow

3.2.23

Passionfroot

3.2.23

Felicis

3.2.23

Convert Box Shadows to Webflow

3.2.23

Screaming Frog SEO Spider Website Crawler

3.1.23

Swiper

3.1.23

Trendpop

3.1.23

Highnote

3.1.23

Frame.io Brand Identity

2.28.23

Ordinary Folk

2.28.23

Detect and Don't Redirect Search Bots

2.28.23

Colophon Foundry

2.28.23

DIKO

2.27.23

Nessa

2.26.23

Saul / Rand Template

$250
2.25.23

People to Notion

2.25.23

250 (500) Logos of Tech Products

2.25.23
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.