---
title: "Discussion on \"HTML5's custom error messages on required input fields\" | Hashnode"
description: "Discussion on \"HTML5's custom error messages on required input fields\". A lot of client-side validation can be done natively on browsers. The main attribute is required which specifies which input is mandatory for which the browser will highlight the input field and show"
url: "https://hashnode.com/posts/html5s-custom-error-messages-on-required-input-fields/5e744d51bc8844135ba510ea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HTML5's custom error messages on required input fields](https://anjanesh.dev/html5s-custom-error-messages-on-required-input-fields?utm_source=hashnode&utm_medium=feed)

A lot of client-side validation can be done natively on browsers. The main attribute is required which specifies which input is mandatory for which the browser will highlight the input field and show

Mar 20, 2020 · 1 min read · anjanesh.dev  
Updated Jun 16  
Read the article

-   [#html5](https://hashnode.com/tag/html5)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Anjanesh Lekshminarayanan](https://hashnode.com/@anjanesh)

@anjanesh · Navi Mumbai, MH

  
[View profile](https://hashnode.com/@anjanesh)

Web UI Engineer

I am a web consultant from Navi Mumbai. Mainly dealt with LAMP stack, now into Django and getting into Laravel and Cloud. Founder of nerul.in and gaali.in

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
