Skip to main content

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.

10262iAA98C9AA5EE0BF67.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.

10261i1A1A047DD969D5D5.png

 



Thanks,
Kishore

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/28146



 



 


Reply