Ok I am trying to update a single line of text control when clicking on a button. I've followed @harryr's post https://community.nintex.com/t5/Nintex-for-SharePoint/Print-a-JS-var-value-to-a-single-line-text-box-Nintex-Forms/td-p/16813 and was able to successfully populate the control when I use a static value. Here is my current code:
var formValue = NWF$('#' + AddressValue);
function updateBox(){NWF$("#"+Address1).val(formValue);};
AddressValue is a JavaScript variable Name for a Calculated field
formValue is a JavaScript variable Name for the Single Line of Text I would like to populate data into.
When I run it now, I see the following [object Object] in the control. I'm guessing the problem is how I'm identifying the variable within the function. Any assistance here would be greatly appreciated.