Prefill Cross-site lookup / set value show empty field
Posted: 08 Jun 2018
Hi,
i have a lookup to another list setup to show the title of the item.
When i try to set the lookup to a special item i'm using the fd.field("Lookup").value("1") method.
It will fill the value. if i save the form, the correct item is set.
But in form the lookup will get empty with a "X" on the end to clear the lookup.
The "title" is not showing up.
If i set it manually by selecting the dropdown, all is fine.
do i have to call a "onchange" or something like this, after setting the value ??
i have a lookup to another list setup to show the title of the item.
When i try to set the lookup to a special item i'm using the fd.field("Lookup").value("1") method.
It will fill the value. if i save the form, the correct item is set.
But in form the lookup will get empty with a "X" on the end to clear the lookup.
The "title" is not showing up.
If i set it manually by selecting the dropdown, all is fine.
do i have to call a "onchange" or something like this, after setting the value ??