cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Nintex Forms 2013 - change handler for external data column control

Does anybody know how to register a Javascript change handler for a external data column control an how to get the value of the control?

Depending on value change I have to populate another control.

 

I could get the value with

NWF$('.KUNNR :input:nth-of-type(4)').val()

but it depends of the generated html and it should be horrible to maintain.

 

I have tried a change handler NWF$('.KUNNR :input:nth-of-type(4)').change(...) but it's not called.

 

 

Kind regards

 

Manfred

Labels: (2)
Reply
2 Replies
Highlighted
Not applicable

Re: Nintex Forms 2013 - change handler for external data column control

Hi Manfred,

 

You might want to try the following:

 

NWF$("#" + controlId).bind('DOMNodeInserted', function(event) {

    if (event.target.parentNode.id  == controlId)

    {

       //your code goes here

    }

  });

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: Nintex Forms 2013 - change handler for external data column control

Hi Milen,

thank You for the answer - it works!

To get the value of the control I use

NWF$(this).find('div').attr('displaytext');

Kind regards

Manfred

0 Kudos
Reply