1

I have a list in Sharepoint Online, which has a lookup to an other list. No matter what, on the form it will always render as a dropdown value. When this list of values becomes huge, it's hard to find the correct item in the dropdown.

Therefore I want to implement something like this: http://jqueryui.com/autocomplete/#combobox

This will allow to type in the lookup field and find the correct item easily. Is this possible and how can I implement this?

Kind regards,

Christian

  • jQuery/Javascript would be the way to do it, check this forum post which discuss something very similar to what you are looking for: sharepoint.stackexchange.com/questions/104615/… – Manu Apr 13 '15 at 11:46
  • I tried the SPServices Autocomplete function, but this is not what i'm looking for, because this function uses a Single Line of Text field as input. I need to render the lookup dropdown value in a different way... – Christian Both Apr 13 '15 at 11:52
  • Simply query for the items you want to be in the autocomplete/combobox using REST or JSOM, then follow the steps you'd normally take to create the dropdown. – wjervis Apr 13 '15 at 11:57
  • Maybe also good to know is that i already use $().SPServices.SPLookupAddNew to my lookup dropdown field, which adds the option for creating new lookup values in the sourcelist. – Christian Both Apr 13 '15 at 12:14

Your Answer

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

Browse other questions tagged or ask your own question.