04 Form submit
Name:
Email:
Submit
|
Load random preset
Submitted Data
Field Name
Value
(No data submitted yet)
Notable points
Handle form submit event instead of button click event
Give
type="button"
to buttons that should not submit the form, if any
Prefer
:user-invalid
to
:invalid
It might be a good idea to replace
type="email"
with something else
Because
type="email"
doesn't support Japanese domain name and etc.
type=”email”は使わない方が良いんじゃないか(ちょっと良いUIおれおれAdvent Calendar 2024 – 22日目)
Never think like client side validation is enough
Actually there must be much much more things we have to consider