In Nintex forms I would like to create a key/value relation.
Always when the key has changed (condition), then the value should Change.
function lookupInTextField (key, value, js_Text_ID)
if (NWF$('#'+ js_Text_ID).attr("placeholder") != key )
NWF$('#'+ js_Text_ID).attr("placeholder", key);
alert ("Key-Attribute: " + NWF$('#'+ js_Text_ID).attr("placeholder"));
Unfortunately the alert-Output is always "Key-Attribute: undefined". Can somebody please give me a hint what I am doing wrong. Somehow it does not work with the placeholder Attribute of the "single line TextBox" control in Nintex forms.
I Trigger this function with the "Calculated fields" control. So far so good.
Does anybody know how to store the key and how to get the key?
Any help and hints are greatly appreciated!