TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Should required fields be marked?

34 点作者 Akcium超过 2 年前

14 条评论

causi超过 2 年前
Wouldn't it depend entirely on which is more common in your form? If it's a medical form and 95% of the fields are required, mark the optional ones. If it's a social network sign-up page and most of the fields are optional, mark the required ones. I don't know what kind of slope-browed sadist wouldn't mark anything at all.
sccxy超过 2 年前
Another UI/UX "expert" who needs to reinvent the wheel to justify his existence.
jonnycomputer超过 2 年前
Of course it should. Who hasn't had the experience of an unhelpful message telling us that all required fields be completed, but without indicating just which those are supposed to be. The question is horseshit.
btbuildem超过 2 年前
Here&#x27;s a wild thought: only put required fields on your form.<p>Designing UIs has been part of my job for a while now, and it&#x27;s always about the bigger picture. Where is this &quot;optional&quot; information being used? If it&#x27;s optional, does this introduce complexity down the line (handling &#x2F; not handling it depending on whether it was provided)?<p>You can always break down and simplify things. Perhaps this optional information is irrelevant -- exclude it altogether. Is it relevant in some contexts only? Handle it separately for these contexts only.<p>Marking &quot;required&quot; fields is lazy design imo.
评论 #33247056 未加载
评论 #33247289 未加载
评论 #33248041 未加载
评论 #33248428 未加载
评论 #33247620 未加载
评论 #33246913 未加载
评论 #33248209 未加载
forgotpwd16超过 2 年前
&gt;However, there is another famous UI book written in Russian. The author of this book is against marking fields as required due to the following reasons.<p>But which book is this?
评论 #33261077 未加载
zagrebian超过 2 年前
Web Incubator Community Group forum topic: Browsers should clearly mark required fields<p><a href="https:&#x2F;&#x2F;discourse.wicg.io&#x2F;t&#x2F;browsers-should-clearly-mark-required-fields&#x2F;6021" rel="nofollow">https:&#x2F;&#x2F;discourse.wicg.io&#x2F;t&#x2F;browsers-should-clearly-mark-req...</a>
kwhitefoot超过 2 年前
Of course they should be. The only question is how.
rocketbop超过 2 年前
&gt; Another interesting approach. The author shows an example where you have a site URL input and the label says &quot;Your site, if you have one&quot;. Or, the label is &quot;Site&quot; and there is a hint below it: &quot;if you have one&quot;.<p>&gt; On the one hand, it feels more natural to me. It&#x27;s like asking people in real life &quot;Hey, may I have caramel syrup if you have one?&quot;.<p>Strange that a UI designer might consider more natural language in a form to be better, as it seems antithetical to &quot;Don&#x27;t make me think&quot;.
coffeedan超过 2 年前
Better title: “Should required fields be marked with asterisks, or something else?”
xnx超过 2 年前
If you&#x27;re interested in usability topics, <a href="https:&#x2F;&#x2F;www.nngroup.com&#x2F;articles&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.nngroup.com&#x2F;articles&#x2F;</a> is a much better source.
KoenDG超过 2 年前
Absolutely. Even if only for the timesaving.
oftenwrong超过 2 年前
A simple and clear approach is adding &quot;(required)&quot;, or the localised equivalent, to the required fields.
another-dave超过 2 年前
&gt; Asterisks are an invention of WEB. Operating systems usually don&#x27;t use them at all.<p>Asterisks aren&#x27;t an invention of the web, they&#x27;re a hold over from paper forms. It is&#x2F;was common to have an asterisk beside required fields. Because that was already a convention it was adopted by designers &amp; ported over to digital.<p>&gt; You can separate required and non required fields<p>I think this is good when its appropriate to the data. It&#x27;s almost like you&#x27;d apply it at a fieldset level rather than field level. As in, asking for username&#x2F;email&#x2F;password and then in another section asking for what your interests are for the algo recommendations is great.<p>If you have something like fields for name — first name&#x2F;last name are both mandatory; middle name is optional — it would really break the flow of the form if they weren&#x27;t in conventional order.
评论 #33246407 未加载
评论 #33247978 未加载
m000超过 2 年前
&gt; Asterisks are an invention of WEB. Operating systems usually don&#x27;t use them at all.<p>What kind of horseshit is this? With a 5&quot; wikipedia search:<p>&gt; In the Middle Ages, the asterisk was used to emphasize a particular part of text, often linking those parts of the text to a marginal comment.<p>That&#x27;s practically identical to the use of asterisks on the web: pointing to a side note that says that these fields are mandatory.<p>Also, the examples used to demo the asterisk counter-proposals are cherry-picked to be super simple. The minute your form becomes more complicated than &quot;email&#x2F;password&#x2F;phone&quot;, the counter-proposals become inferior to simply using an asterisk.<p>PS. Who the hell spells web as &quot;WEB&quot; in 2022? In fact when &quot;WEB&quot; was ever considered proper, outside of all-caps headings?
评论 #33246564 未加载
评论 #33246591 未加载
评论 #33246901 未加载
评论 #33247294 未加载
评论 #33246980 未加载