title: How to show a default domain name in an email address input field?
body: <p>I have a login form for a website that requires email address and password. Most users have the same email address domain, but a few users have email addresses from a different domain.</p>
  <p>Is there a way to automatically use a default domain name in the email address input field, while still allowing the user to type in a different domain name?</p>
  <p>For example, if | is the cursor, the input would look something like this while typing:</p>
  <blockquote>
  <p>|@defaultreallylongdomain.com <em>(user hasn't typed anything yet)</em></p>
  <p>b|@defaultreallylongdomain.com</p>
  <p>bo|@defaultreallylongdomain.com</p>
  <p>bob|@defaultreallylongdomain.com</p>
  <p>bob@|defaultreallylongdomain.com</p>
  <p>bob@g|</p>
  <p>.</p>
  <p>. <em>(user keeps typing)</em></p>
  <p>.</p>
  <p>bob@gmail.com|</p>
  </blockquote>
  <p>The default domain shows up to the right of the cursor, until the user starts typing a domain name that doesn't match the default domain.</p>
  <p>Any ideas on how to accomplish this?</p>