Перейти к основному содержимому

Forms

Form-related elements and attributes

Forms Experience & Sentiment

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.

Group by:

Sort by:

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%

Experience

  • Использовал: Respondents who have used an item.
  • Знаю: Respondents who have heard about an item, but haven't used it.
  • Впервые слышу: Respondents who have never heard about an item.

Sentiment

  • Positive: Respondents who are interested in learning more about a technology; or are willing to use it again.
  • Neutral: Responents who did not indicate any sentiment about a technology.
  • Negative: Respondents who are not interested in learning more about a technology; or have used it and had a negative experience.

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?
(ответ в свободной форме)
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 %

Рекомендуемые ресурсы

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.
Спасибо нашим партнёрам за поддержку! Подробнее.