Skip to main content
Nintex Community Menu Bar

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

  • March 2, 2016
  • 3 replies
  • 30 views

Forum|alt.badge.img+8

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?

3 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • March 3, 2016

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


Forum|alt.badge.img+8
  • Author
  • March 3, 2016

Thanks Caroline Jung​ – I'll do that!


Forum|alt.badge.img+9
  • Nintex Partner
  • March 3, 2016

you're welcome wink.png