Gå til innhold

Forms

Form-related elements and attributes

Skjemaer Erfaring & Følelser

Surprisingly, <input type="color"/> was the most used form-related feature this year, with 41.8% of respondents reporting having used it.

But when looking at positive sentiment, basic UI building blocks like autocomplete (<datalist>) and dropdowns (Customizable Select) top the rankings, showing that developers value features that are customizable and can be tailored to their needs.

Gruppér etter:

Sorter etter:

1
Forms
48.9%
39.5%
10.7%
2
Forms
44.1%
32.8%
21.7%
3
Forms
19.1%
30.3%
50.1%
4
Forms
19%
47.8%
32.5%

Erfaring

  • Brukt det: Respondents who have used an item.
  • Hørt om det: Respondents who have heard about an item, but haven't used it.
  • Aldri hørt om det: Respondents who have never heard about an item.

Oppfatning

  • Positiv: Respondenter som er interessert i å lære mer om en teknologi; eller er villige til å bruke den igjen.
  • Nøytral: Respondenter som hadde en nøytral oppfatning av en teknologi.
  • Negativ: Respondenter som ikke er interessert i å lære mer om en teknologi; eller har brukt den og hatt en negativ opplevelse.

Forms Pain Points

Styling & customization of default form control UI elements remains a big stumbling block, with nearly half of pain points being about it.

Form validation is also a problem, especially when it comes to more advanced use cases like validating one field's value based on another.

What are your pain points around HTML forms?
Fritekstformat
Multiple
Top pain point topics overall.

View:

Items that are not one of “limitations”
0 %
20 %
40 %
60 %
80 %
100 %
01
Styling & customization
6
02
Input element issues
9
03
Browser vendor issues
3
+1
04
Form Validation
7
-2
05
Accessibility
1
+1
06
End-user experience
+12
07
Developer Experience
08
Cognitive overload
+5
09
Editing APIs
1
+7
10
Reliance on JavaScript
-1
11
Forms & JS
1
+6
12
Form handling
1
13
1
+7
14
Label issues
15
Education
16
17
State management
1
18
HTTP actions
19
Reliance on frameworks
20
Form Submission
-10
21
Technical issues
1
22
<button>
23
Multi-step forms
0 %
20 %
40 %
60 %
80 %
100 %

Anbefalte ressurser

CSS-only Form Validation Hints
Kevin Powell

CSS-only Form Validation Hints

A look at how we can use CSS to add contextual hints to users as they fill out a form, including creating an SVG by hand and animating it based on whether a field is valid or invalid.
Takk til våre partnere for deres bidrag! Lær mer.