1

Is is a common practice to do that ? Or should I put informations linked to this input next to it ?

For example: <input type="text" title="You first, not your last name !" placeholder="Name"/>

JsFiddle: http://jsfiddle.net/xcGx9/

1 Answers1

2

It's not a common practice, but I think it's not that bad, because in the title, which appears as a tooltip, you give additional information for the user once he enters the field using mouse pointer.

However, I think a better choice would be giving a field a label and use placeholder for descriptive text, so that it looks like:

Name: [ You first, not your last name ]

This way:

  • user won't loose the purpose of the field while being inside the field
  • it will work on touch devices the same way
  • it will not depend on using the mouse pointer
Dominik Oslizlo
  • 13,849
  • 2
  • 30
  • 57
  • 1
    I think that's a good advice. Placeholder shouldn't substitute a proper – Ignacio Mar 08 '13 at 13:18