Timeline for How to set custom validation messages for HTML forms?
Current License: CC BY-SA 4.0
20 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 15 at 15:36 | comment | added | Richard Keene | Worked for me. Chrome. | |
| Jan 30 at 9:53 | comment | added | Andreas Rejbrand | ...when I hover the invalid control, prior to attempting to submit the form. However, the MDN example at developer.mozilla.org/en-US/docs/Learn_web_development/…, which uses the "input" event, fixes that. | |
| Jan 29 at 13:12 | comment | added | Andreas Rejbrand | This is the top-voted answer, but it doesn't work for me (2025-01-29, Firefox 134.0.2, Windows 11). I only see the browser's default message. | |
| Nov 4, 2024 at 16:51 | comment | added | sheerazabbas | an example in case you are looking for vue.js app. stackoverflow.com/a/79156322/7955629 | |
| S May 3, 2023 at 12:02 | history | suggested | CommunityBot | CC BY-SA 4.0 | Fix typos in code snippet |
| May 1, 2023 at 20:56 | review | Suggested edits | |||
| S May 3, 2023 at 12:02 | |||||
| Feb 21, 2023 at 17:19 | history | edited | TylerH | CC BY-SA 4.0 | Reverting back to original form without the "this" keyword which was erroneously added by Gwyn Howell. Reverted code snippet introduction because they are for runnable code only. This code cannot be run, truly, since it doesn't contain a submit button. |
| S Sep 7, 2022 at 9:28 | history | suggested | AliNajafZadeh | CC BY-SA 4.0 | Code Snippet |
| Sep 7, 2022 at 8:35 | review | Suggested edits | |||
| S Sep 7, 2022 at 9:28 | |||||
| S Nov 20, 2020 at 6:10 | history | suggested | psygo | CC BY-SA 4.0 | better syntax highlighting |
| Nov 19, 2020 at 16:55 | review | Suggested edits | |||
| S Nov 20, 2020 at 6:10 | |||||
| Oct 3, 2019 at 11:05 | comment | added | phil294 | Note that you can even omit the this. in this case because inline event handlers run with a with(this) (not saying you should) | |
| Jun 17, 2019 at 5:52 | history | edited | Mamun | CC BY-SA 4.0 | format code |
| Sep 10, 2018 at 12:02 | history | edited | Skippy le Grand Gourou | CC BY-SA 4.0 | added 56 characters in body |
| Apr 23, 2018 at 12:59 | history | edited | Gwyn Howell | CC BY-SA 3.0 | add missing this keyword |
| S Apr 21, 2016 at 8:24 | history | suggested | Akshay Mohite | CC BY-SA 3.0 | grammar change |
| Apr 21, 2016 at 7:08 | review | Suggested edits | |||
| S Apr 21, 2016 at 8:24 | |||||
| S Oct 13, 2014 at 20:00 | history | edited | i alarmed alien | CC BY-SA 3.0 | formatting |
| Oct 13, 2014 at 19:55 | review | Suggested edits | |||
| S Oct 13, 2014 at 20:00 | |||||
| Nov 25, 2013 at 9:52 | history | answered | Somnath Kadam | CC BY-SA 3.0 |