Joomla can't do that by itself, but it's quite easy to implement such feature.
Anyway I'd still suggest having two separate fields in form at least for validation and type hints.
Probably you've seen in the backend that it does't let you save the form when one of the fields is invalid and it marks the field border with red color.
If you are after speed in filling in forms, use tab
button.