Skip to main content

Hi,

I am trying to set a default value to a list lookup using Custom Script but it is not working.

The script is as follows:

NWF$(document).ready(function()  {

NWF$("#" + ddlStaff).val('1'); 

} );

where ddlStaff is the Client ID JavaScript variable name set on the control.

Can anyone provide assistance?

Thanks

Thank you. This worked. Much appreciated.


Hi

Thank you.

I used the above code, Lookup item is getting selected but when i save the item the value is not getting saved.

Please help me on this?


Hi,

Is the lookup control enabled on the form. I experienced scenarios that any controls on my form that were disabled were not saved.


Yes lookup Control is enabled on the form


Internet explorer version 11.0


Hi,

I included the above code, still the same issue.

Below is the screenshot of the console

138851_pastedImage_0.png


Hi

I have tested this in both IE 11.0 and Chrome 46.0. They are no errors in the Console.


Please find the attachment.


Nintex Version 2.6.0.0 for Sharepoint 2013 (on premise)

139229_pastedImage_0.png


Thansk a lot. Its working now.


Reply