cancel
Showing results for 
Search instead for 
Did you mean: 
patrickabel
Automation Master
Automation Master

Set JavaScript variable to List Lookup Control's value on Nintex Form load?

Jump to solution

After configuring the "store client ID in JavaScript variable" it's fairly easy to retrieve a control's value with the following:

var test = NWF$("#" + someID + " option:selected").text();

However, if this control is a List Lookup, I am only able to retrieve these values via an onClick event in the page (or after waiting for a few seconds with a timer). Even after waiting until the NWF.FormFiller.Events have completed and the DOM has loaded, these fields are still "Loading..."

Is there another Nintex function I can monitor in order to make my function call once it completes?

Tags (2)
0 Kudos
Reply
3 Replies
cju
Automation Master
Automation Master

Re: Set JavaScript variable to List Lookup Control's value on Nintex Form load?

Jump to solution

I don't think that there is a Nintex function for that.

But you can vote for the following idea in Nintex User Voice :

Add callback function to Lookup control loaded event – Customer Feedback for Nintex

View solution in original post

Reply
patrickabel
Automation Master
Automation Master

Re: Set JavaScript variable to List Lookup Control's value on Nintex Form load?

Jump to solution

Thanks Caroline Jung​ – I'll do that!

0 Kudos
Reply
cju
Automation Master
Automation Master

Re: Set JavaScript variable to List Lookup Control's value on Nintex Form load?

Jump to solution

you're welcome

Reply