Get fd.field from another sharepoint List

Hi!
so in the Forms designer you connect to a list and thus you get the fields of the list and can do stuff with them in JS. In my case after I submit my Form the status gets updated and it looks into the "claimvalue" field and checks if that is >= 1000. if it is then xyz
The thing is - the claimvalue field isnt accurate at that time. but the ClaimValue field from another List would be great to look at at that time.
but i cant do fd.field(fieldthatiwant) - i can only select the fields from this list.
can i like, initialize the fields from the other list in JS or something?

Hello @Mart,

Welcome to Plumsail Community!

You can get values from the other list using PnPjs. Please see the code example:

fd.spRendered(function() {

    pnp.sp.web.lists.getByTitle('ListName').items.select('Title').get().then(function(items) {
        fd.field('Title').value = items[0].Title;
    });

});