Optional input labels Today I was working on an popup input box (actually 3 input boxes) that asks the user to enter a project, a vendor or a category. The first box looks like this:


Project name: __________________________

The second looks like this:


...accounts code (optional): __________________________

I'm wondering, what's the most user friendly way of displaying that label. Is it:


...accounts code: (optional)

or is it:


...accounts code (optional):

Comments

djo

IMO, because little red asterisks normally go after the field:

project name: [__________] (required)
accounts code: [__________] (optional)

But isn't putting each field on a separate page a bit clunky for the user?

Your email will never ever be published.

Previous:
FacebookStatusUpdater June 7, 2007 Linux
Next:
Internet Radio - Day of Silence June 26, 2007 Misc. links
Related by category:
Testing out vite 8 on SPA: Vite 8 is 5x faster December 6, 2025 Web development
From @monaco-editor/react to prism-react-editor September 25, 2025 Web development
Bot traffic hitting my blog July 9, 2025 Web development
How to get all of MDN Web Docs running locally June 9, 2021 Web development