set value in spform
Posted: 10 Apr 2018
Hi,
I try to set the value of the cross-site lookup field, but cannot get it to work.
The values for the id and text are in 2 variables.
What is the correct syntax:
var listId = 123;
var text = "name";
fd.field('Address').value( {Id: listId, Title: text});
I try to set the value of the cross-site lookup field, but cannot get it to work.
The values for the id and text are in 2 variables.
What is the correct syntax:
var listId = 123;
var text = "name";
fd.field('Address').value( {Id: listId, Title: text});