I am auto-populating fields in a Nintex Form using data from a SharePoint 2016 list. I can populate all the fields correctly except Rich text, and Enhanced rich text fields.
I am using the following code:
var varAPP_MEMO = NWF$('#' + APP_MEMO_1_JAVA).val();
var varAPP_MEMO2 = NWF$('#' + APP_MEMO_1A_JAVA).val();
var varCOMBINE = varAPP_MEMO1 + "
" + varAPP_MEMO2
NWF$('#' + WATER_APP_MEMO_COMBINE_JAVA).val(varCOMBINE);
I am able to fill the control when "WATER_APP_MEMO_COMBINE_JAVA" is a plain text Multi-Line control with both values on a separate line.
If the control is a Rich text Multi-Line, it inputs the value all together without the hard return (/n).
If the control is a Enhanced Rich text Multi-Line, it doesn't input the values at all.