My application has companies that have many users. To login to the application, they use their e-mail address. The company has a preferred domain name (e.g. google.com). Is it good UX to append this preferred domain to the email field to reduce the amount of typing when creating/changing their email address?

Here's an example: http://jsfiddle.net/kwHx2/

The only edge case would be companies that hire contractors (or have a sub-domain'd e-mail) and need a different domain. The approach I took in that example is when the user enters an @, the appended domain is removed. I'm not really sure if this is obvious to the user. Alternatively, I was thinking of having the user clicking on the domain or having (change) beside the domain to trigger the change.

1 Answer 1


Google does something similar when you are setting up a new android device. Their solution doesn't involve having the domain name outside the box though. It is presented as a suggestion within the text field. The user types their email address and then when they hit the @, the rest of the field is auto populated with gmail.com after the field (with the entire addition highlighted so if the user wishes to overwrite it all they have to do is keep typing). Something like this:


download bmml source – Wireframes created with Balsamiq Mockups

It presents the functionality in a way that requires no additional effort (regardless of whether you choose to use it or not) which makes it much more elegant in my opinion.

  • Nice. However, I wonder how feasible this is with JS/CSS. Also - On my 2.2 device Accounts & sync > Add account > Google and it seems to place the @gmail.com outside the textbox (like I did), however when you enter an @ it doesn't remove the @gmail.com. What version do you see this with? Jul 26, 2012 at 10:19
  • I don't remember, I've got a fair few devices and I'm not sure which one this was on, it could have been an ICS thing. My 2.3.5 phone and 3.2.1 tablet don't seem to be doing it but if you enter just the information before the @ and move to the next field it automatically fills in the @gmail.com for you (when you are logging in with an existing account not creating a new one)
    – rsparis
    Jul 27, 2012 at 2:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.