cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

New Responsive Form - Display data from repeating section list form into repeating section task form

Jump to solution

Hi, I am new to Nintex. 

 

Currently, I am facing aproblem with my project. I want to display the data (which include choice single, date and text - short) in the repeating section(listing form) into repeating section (task form). I have studied to few others post, which their solution is following:

 

1. connect repeating section(task form) to the multi-line text colmn that used to store the xml of repeating section(listing form)

2. put in all the controls and name all of those controls same with the control from listing form repeating section's controls.

 

I have tried this solution. Unfortunelly, my problem still does not solve. I wonder is this because they were using classic form and I am using new responsive form. and is there any way can help me out of this problem? 

 

 

Labels: (2)
0 Kudos
Reply
6 Replies
Highlighted
Nintex Newbie

Re: New Responsive Form - Display data from repeating section list form into repeating section task

Jump to solution
Currently you need to use Query XML for each control in the Repeating Section to populate the same number of Collections.

Then do a "For Each" loop to extract an item from the first collection and set the Output index.

Within the loop do a whole series of "Get Item from Collection" to extract each item from the remaining collections. (using the Output index value from the For Each loop).

Also within the loop (after all the get items above) do a Build String to concatenate an HTML formatted string with the next group of freshly extracted items of the current row in the Repeating Section. At minimum the string could be like this:
{Variable: html rptsection}<div>- 1st control description {Variable:txt 1st extraction}, 2nd control description {Variable:txt 2nd extraction}</div>
The Output in this case would be the text variable html rptsection

Now in your Task Form use a Text - Long control with the Text Format of Rich Text selected and connect it with the html rptsection variable.

If this help solve your challenge then please mark this as a solution.
0 Kudos
Reply
Highlighted
Nintex Employee
Nintex Employee

Re: New Responsive Form - Display data from repeating section list form into repeating section task

Jump to solution
Hi,

"2. put in all the controls and name all of those controls same with the control from listing form repeating section's controls."

This is probably where the issue is occuring.
Currently the output of a repeating section does not use the control name. Instead it uses the controls ID. You will see the ID if you submit a form from a new responsive form and look at the output XML.

Hope this helps.
0 Kudos
Reply
Highlighted
Nintex Newbie

Re: New Responsive Form - Display data from repeating section list form into repeating section task

Jump to solution

I have tried to use the ID from the XML. It sill does not populate the data. But one thing i have realise is the connection from task form reapeating section to the 
XML column is fine, because it able to show same number of field in the repeating section. No, the problem is what is the correct ID for the controls.

0 Kudos
Reply
Highlighted
Nintex Employee
Nintex Employee

Re: New Responsive Form - Display data from repeating section list form into repeating section task

Jump to solution
0 Kudos
Reply
Highlighted
Nintex Newbie

Re: New Responsive Form - Display data from repeating section list form into repeating section task

Jump to solution
It's true that natively this is a current limitation, however, my original post details a functional work-around that builds an HTML string and populates it within a Rich Text enabled Text-Long control.
0 Kudos
Reply
Highlighted
Nintex Newbie

Re: New Responsive Form - Display data from repeating section list form into repeating section task

Jump to solution
If you export your original form (that contains the repeating section), then import it while you have the task form designer open, then the repeating section will match up (since the form control IDs will be identical).
The downside to this (which I'm facing right now) is that if you change the repeating section in the original form, you will need to re-export the original form and re-import it as your task form.
So if you've made any changes to the task form between those two exports, then they will be wiped away and will need to be re-made.
Reply