Skip to main content

Hello,

i have created a list . List Contains folders. List has nintex form.

When ever user click on folder , that folder name is populate into nintex form in one of the column.

Here i able to  get  the folder name, but i'm unable to save that folder name into nintex form filed.

below is the  code i have used.

$(document).ready(function() {

alert("hi");

var folder1 = "folder1";

$("input utitle='Component']").val(folder1);  ===> here i'm facing the problem .

how to  auto populate the folder name into nintex forms field.

Could you please help me out .

Thanks,

Santhosh

you have to assign a javascript variable in control's configuration dialog (eg. varFolderControl)

then you can assign a value to it like

NWF$('#' + varFolderControl).val(folder1)


thanks for your reply.

In the above example what is "varFolderControl". Is it control name?

For example:

form1.PNG

Do we need to change Name of the control to "varFolderControl"?

Thanks in advance,


no, you have to configure it at the very bottom of configuration dialog


Hi Marian,

It's working fine !!.

Thanks for the  solution. Great !!!

Regards,

Santhosh.


glad to hear.

consider marking the question answered.


Reply