Page 1 of 1

Getting and setting SharePoint form field values

Posted: 01 Nov 2021
by UDRO
Hi, one more question:

Please clarify the syntax for ‘Plumsail Cross-site Lookup with single value’
https://spform.com/javascript-framework ... eld-values

Set
Set ID:
fd.field('CrossSiteLookup').value(1);

What does the “1” stand for?

Re: Getting and setting SharePoint form field values

Posted: 02 Nov 2021
by Nikita Kurguzov
Dear UDRO,
The 1 is the ID of the item that you want to select. Lookup fields are set with IDs.