Page 1 of 1

set value in spform

Posted: 10 Apr 2018
by GeraldMarxer
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});

Re: set value in spform

Posted: 10 Apr 2018
by Nikita Kurguzov
Dear Gerald,
Do you get any error in the browser's console?