Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3304838
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:06:16+00:00 2026-05-17T21:06:16+00:00

I have a domain (e.g: example.tld), and I want to allow users to create

  • 0

I have a domain (e.g: example.tld), and I want to allow users to create an e-mail address on this domain by only having to input the first half of the e-mail address. So the domain will be appended to the text box, and when the user clicks on the box the cursor will be at the start of the input field allowing them to enter their name.

Perferrably I would also like the domain value within the text input to be non-editable.

So when the page loads, I want the text box to look like:

<input type="text" id="emailaddress" value="@example.tld" />

Then when the user clicks, and starts entering text it’ll look like; with the @example.tld” part being forced.

<input type="text" id="emailaddress" value="userenteredtext@example.tld" />

Any ideas on how to achieve this using jQuery?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T21:06:16+00:00Added an answer on May 17, 2026 at 9:06 pm

    why not just set the @example.tld outside of the input box ? since that is the functionality you try to mimic..

    Update

    as @bobince says in his comment, you would be better off just dealing with the possible user error (submitting a whole email) yourself, once he submitted the info or left the email field.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page, URI looks like this: http://domain.example.com/Profiles/Profile.aspx?username=blah#blahtab When that fragment (#blahtab) is
I have link for example domain.com/de/controler/action?param=value and I want make actionlink to keep same
I have a .csv file like this: stack2@domain.example,2009-11-27 01:05:47.893000000,domain.example,127.0.0.1 overflow@domain2.example,2009-11-27 00:58:29.793000000,domain2.example,255.255.255.0 overflow@domain2.example,2009-11-27 00:58:29.646465785,domain2.example,256.255.255.0 ...
If I have a domain like www.example.com and I want to check if it
I have a domain for example http://example.com and another domain http://reallylargerdomain name.com I want
I have a file, let us call it parent-win.html, served by domain example.com. This
If I have domain name example.com , and if I set an A record
I have a site that sits in a directory on a domain: http://www.example.com/site/ I
It's easier to be told by example. I have URLs like http://domain/product/view/id/ . How
I have several sites in different domains: example.com , example.org , mail.example.com and passport.example.org

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.