Lookup does not save data when 'Allow multiple values' is selected
I have a simple lookup to a 'title' field in another list - this works ok when you can only select a single lookup item. However if you allow multiple values, the meta data does not save - however the version number does increase. You can select multiple items, and they appear in the lookup, but after pressing save, nothing gets written to the metadata field
code:
function (term, page) {
if (!term || term.length == 0) {
return "{WebUrl}/_api/web/lists('{ListId}')/items?$select=Id,{LookupField}&$orderby=Created desc&$top=10";
}
return "{WebUrl}/_api/web/lists('{ListId}')/items?$select=Id,{LookupField},Title&$orderby={LookupField}&$filter=substringof('" + encodeURIComponent(term) + "',Title)&$top=10";
}
code:
function (term, page) {
if (!term || term.length == 0) {
return "{WebUrl}/_api/web/lists('{ListId}')/items?$select=Id,{LookupField}&$orderby=Created desc&$top=10";
}
return "{WebUrl}/_api/web/lists('{ListId}')/items?$select=Id,{LookupField},Title&$orderby={LookupField}&$filter=substringof('" + encodeURIComponent(term) + "',Title)&$top=10";
}
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Do you use SharePoint Online or SharePoint on-premises?
Do you use Forms Designer?
Have you designed the form in Forms Designer?
What browser do you use?
Do you use SharePoint Online or SharePoint on-premises?
Do you use Forms Designer?
Have you designed the form in Forms Designer?
What browser do you use?
Do you use SharePoint Online or SharePoint on-premises?
Sharepoint online (365)
Do you use Forms Designer?
We use 'cross site lookup' Version: 1.4.1.0
Have you designed the form in Forms Designer?
No
What browser do you use?
Chrome 48.0.2564.116 (Windows 10)
Sharepoint online (365)
Do you use Forms Designer?
We use 'cross site lookup' Version: 1.4.1.0
Have you designed the form in Forms Designer?
No
What browser do you use?
Chrome 48.0.2564.116 (Windows 10)
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Thank you for the additional info. We could not reproduce the issue. Is it possible to provide temporary access to the site? If so, please, send the credentials and the direct link to the form to support@spform.com.
I cannot give access at this time, but here is a recording of what happens: https://drive.google.com/file/d/0B6R1uQ ... 82OTQ/view
Please note, that when the 'allow multiple values' is unchecked, it saves correctly
Please note, that when the 'allow multiple values' is unchecked, it saves correctly
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
We have tried to replicate the issue in both multi- and single-value modes but without success. Could you try to reproduce it in another browser, say IE or Edge? Please, open the browser console (F12) and save the form again. Have you got any JS-errors or notifications?
For some reason my screenshot didn't attach. Here is the URL: http://i.imgur.com/fiPYfA8.jpg
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Can we schedule a screen sharing session? If yes, please, install Team Viewer and send the connection settings to support@spform.com when you're ready.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests