› Forums › General discussion › SPJS-lookup problem
- This topic has 6 replies, 2 voices, and was last updated 6 years, 8 months ago by
Alexander Bautz.
-
AuthorPosts
-
-
September 27, 2016 at 14:55 #13432
HYM
ParticipantDear Alexander,
I am trying to use spjs-lookup I used this code:spjs.lookup.init({ "fieldToConvertToDropdown": "origin", "listName": "ClientsLocation", "listBaseUrl": "", "optTextFieldInternalName": "Title", "sortFieldName": "Title", "filterObj": { "on": false, "CAML": null, // If used, the rest of the filterObj settings are disregarded "fin": "", "isLookup": false, "operator": "Eq", "filterVal": "" }, "dropDownDefaultvalue": "...", "addYouOwnValue": { "on": false, "linkText": "Write your own value" }, "addToExternalList": { "on": false, "customFunction": null, "linkText": "Add new item", "saveNewItemText": "Save new item" }, "debug": false });
can u check please if their is a problem because It Is not working with me and the dropdrown is always empty!!
Attachments:
-
September 27, 2016 at 21:24 #13453
Alexander Bautz
KeymasterEnsure your list display name is actually “ClientsLocation” – and try changeing “listBaseUrl” to “/”.
Alexander
-
September 28, 2016 at 06:24 #13460
HYM
ParticipantIt didnt work,I will try to find out the problem.
one more question,why debuger is always on,even when i put debug=false??? -
September 28, 2016 at 08:52 #13462
Alexander Bautz
KeymasterThe debugger is on because there is an error in the query setup.
-
September 28, 2016 at 09:05 #13464
HYM
Participantok solved ty for your time(ListBaseUrL was my error)
-
September 30, 2016 at 06:34 #13487
HYM
ParticipantMr.Alexander,can we add more features for the spjs-lookup?(for example when i create a lookup field i can “Add a column to show each of these additional fields: “)can i do the same option with SPJS-lookup??
-
September 30, 2016 at 20:32 #13498
Alexander Bautz
KeymasterI’ll see what I can do in a later version, but you might want to look at the “autocomplete” plugin as this one has this feature built in.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.