I want a user to be able to customize their personal url page on my site, where the value of a text box will be “example.com/username” but I want the “example.com/” to be in the text box but not editable
Tumblr does this but I can’t figure out how: http://www.tumblr.com/register
This is the code in question from the Tumblr page.
As you can see the additional
.tumblr.comis not part of the input text box at all. It’s adivthat is styled to look like the text input box next to it. Therefore giving it the illusion of an unwritable input text field.