Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How set time for validation message on HTML5 form required attribute?

I am using HTML5. On form validation, the message will be shown for about 5 seconds.
How to change it to be visible for 10 seconds?

<form>
<input name="name" required />
<input type="submit" value="Submit"/>
</form>

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The UI is implemented by the browser and isn’t customisable. Different browsers will implement it differently. (e.g. when I test it, the message is displayed until I interact with the page again).

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading