I have a comment section inside a Form (Nintex forms 2013) for the users to add comments. I made a Repeating section for the comments field, so that multiple users can submit their comments. Inside the List, Repeating section data shows up in XML, with lot of additional texts. Like Below,
I created an workflow which will exclude the XMLs and get me only the required data. But with multiple comments, the formatting doesn't look ok. It looks like below,
Solved! Go to Solution.
this article was very helpful for me when I had the same task:
what you mean you 'excluded XML'? did you somehow identified XML markups and removed them with string functions?
there is a Query XML action that using XPath expression can address exact XML element you want to get.
see eg example here
if that still doesn't help you could post an example of output you get and what formatting would you expect?
For use of comments I usually find it easier to use a Multiple Line Text Field.
When you set up this column on the list you have the option to choose append changes to this column.
You only need to add the field once to the form.
Every time someone adds a comment it will append the column with the new information.
Your solution worked for me. Thank You. I have 2 more questions.
1. I need to count the number of comments that gets append to my form. Is there a way to count the number of comments ?
2. Is there a way to display all the comments in List or in a View ?