So essentially I want a text field to operate in a similar fashion to the facebook tagging text field. By default I would be looking up other users on the site. So user reference field is obvious. However if the user isn't found I'd still like to keep the text they entered as they are just entering someone's name. Obviously I could just go and code this I'm just wondering whether anyone has done or seen this done before?

  • Saving a reference and saving a name is two completely different things. You should decide if you want to save any name (with AC) or a reference excluding non existing – googletorp Aug 4 '11 at 10:51
  • I appreciate it is two separate things. I'm less concerned about the data structure that the code has to deal with right now and more about the functionality before I go and build it – Stewart Robinson Aug 4 '11 at 13:09

Autocomplete username looks like it does the auto complete bit for user registration. It's fairly simple. And could probably be adapted for your UI needs. image annotate looks like it does something similar, but without the ajax.

If you end up making it and publishing it, you can always post it here as an answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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