You are viewing limited content. For full access, please sign in.

Question

Question

Need to capture current step comment on saved form, not just previous step comments

asked on April 12, 2016

I have implemented the javascript to capture the previous participant's process comments and add them to any existing process comments on the form; however, once I get to the final step, this is a problem because the comments from that step are not included on the saved version of the form.

Is there a variable I can use somehow so that when the user types in the Comments section of the "approval" area of the form I could then add that value to the field that shows all of the process comments using javascript?  This would allow me to capture the final comments when the form is approved on the version of the form that is being saved.

I realize that I can save the process details with the form; however, that is not the preferred method for this process, as users looking at the saved form really need to be able to see those comments right on the form rather than having to try to flip to another page.

1 0

Replies

replied on April 20, 2016

Hi Melanie,

Code below should be able to capture comment on your current approval page.

$($('.inbox-pane-content iframe')[0].contentWindow.document).find('textarea').val()
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.