Unable to read Nintex Form dropdown control

  • 7 November 2019
  • 1 reply
  • 1 view

Badge +2

We have migrated Nintex Form from SP 2010 to 2016. 

Below was the code to read selected value from dropdown in 2010 which is not working in Nintex 2016 forms

NWF$("#" + ddlCountry).find("option:selected").text()

 

We have used the below to fix in 2016. Do we have any other approach to read the dropdown value?

NWF$("#" + ddlProduct).parent().find('select.nf-client-control > option:selected').text();


1 reply

Userlevel 3
Badge +9
you can use the built-in runtime function parseLookup.

So in your case it would be the following:
parseLookup(ddlCountry,true)

Reply