Hello,
when I open a new Form I like to select a Element of a List Lookup based on a passed variable.
I can pass the variable to a Textfield in the form but for the List Lookup it isn't working.
I know that this topic has been discussed many times before but I don't get it work.
My source code at "Custom Javascript":
function Autofill(myValue){
NWF$("#"+varText_JS).val(myValue); //set Textfield works fine
NWF$("#" + varLookup_JS + " > option[title='" + myValue + "']").prop("selected", true); //set Dropdown is not working
};
Thank you very much!
Christian
Edit:
Nintex Forms 2013