I would like to get this
{/dataset/_submitter_displayname}, {/dataset/_comment}, {/dataset/_submission_time}, {/dataset/_action}
But to add it in the forms at each step of the process in a multi-line fields.
So I figure to do with java script by using an hidden multi-line filed and put these variables as default. but the issue is it works only once, at the submission step, after that it become static and does not update at each step
So here the code I used but what I needs is the equivalent of these variables to use them in the java section
#q132 is a summary of all the comments and #q133 is the hidden comments with the variables in default
but the result is not what I want
$(document).ready(function () { var com = $('#q132 textarea').val(); var com2 = $('#q133 textarea').val(); // if (com2 > "0"){ com = com + '\n\n' + com2; $('#q132 textarea').val(com); //} $('#q132 textarea').attr('readonly', 'True'); });