set value in spform
- GeraldMarxer
- Posts: 5
- Joined: Mon May 22, 2017
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});
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 2017
Dear Gerald,
Do you get any error in the browser's console?
Do you get any error in the browser's console?
Cheers
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests