I'm trying to copy the user input from a singleline Textbox to a Label and convert it into a hyperlink:
//Converts it through a button
var richtext= "";
var link = NWF$(".richtext input").val();
var nohttp = link.replace("http://","");
richtext = '<a href=http://'+nohttp+' target="_blank">'+nohttp+'</a>';
This works fine but after i save it and i want to display it (in the Dispform), it didn't save it at all.
Does anyone know how i can save html code to a label or control?
Solved! Go to Solution.
if you replace control's HTML markup you destroy control's DOM model which nintex relies on.
so you can not expect nintex will save any value then.
there are some tricky workarounds, see eg. following
varAppendToLink is named control reference. once the referenced control changes formula is recalculated and link updated automatically.