Kishore
Canvas Initiate

Not able to get the column reference name in Nintex Forms

Hi,

I have a query on Nintex classic forms using JavaScript.
I have to populate data to a column based on the selection of an Image using JavaScript.

Kishore_1-1614964712781.png


As shown in the above screen shot, on clicking search icon I have to populate the data(example: ABC) in 'Test' text box.
I am not able to get the control reference name for the text box through developer tools to populate the date using JavaScript.

In the below screenshot as highlighted in red, there is no column name reference showing that input control belongs to 'Test' column.
Can you please let me know how can I figure out that input tag is pointing to Test column.

Kishore_0-1614964691963.png

 



Thanks,
Kishore

0 Kudos
Reply
1 Reply
nico
Process Pupil

Re: Not able to get the column reference name in Nintex Forms

Hi,

In the advence settings of your control, you can simply configure the "Store client ID in JavaScript Varaible", and then in you code, use $NWF("#"+VaraibleName).Val() to get the value of your input.

 

The $NWF is Jquery reference.

 

Have a look at this thread, they show some exemples of how to use JS in classic Form: https://community.nintex.com/t5/Nintex-for-Office-365-Forum/Nintex-Forms-and-JavaScript-basics/m-p/2...

 

 

0 Kudos
Reply