Create an Advanced Loop in the Legacy Builder

Have more questions? Submit a request

Advanced Loops allow you to create a table within a table and capture more detailed information on list items from the first loop.

Advanced Loops

There are two main use cases for which the Advanced Loop comes in handy.

Nested Lists Conditional Screen for Loop Item

A primary list with an internal screen for additional details about items on the first loop.

An easy to visualize example is a moving company. When quoting a job, a mover would want to know how many rooms are in the house and the amount of furniture in each room. This is technically two lists where the second is dependent on the first. Without the first list, the furniture is not assigned to a room and without the second list, the movers won't know how many items are in a room. 

As each house is different, loops give the initial flexibility to add as many room as is needed for a specific house and the nested loop allows for each room to not only have furniture listed but details about those pieces provided as well. Movers may need to know the dimensions or weight of specific furniture and a nested loop is the only clean way to manage this entire example.

LB_Advanced Loop_Nested.png

Create an Advanced Loop

Using the moving company scenario, let's make a loop screen with a single nested loop. For more information on specifically creating Loop Screens, visit the Help Center article, "How to Repeat a Screen in the Legacy Builder."

  1. Once in the Form Builder, select + Add Screen in the Form Outline and add a drop down field to the screen called "Room."
  2. Hover over the new screen in the Form Outline and select the Loop icon.LB_Loop Icon.png
  3. On the Key Field select screen, toggle to the radio button for Use Existing Field and the drop down will default to the existing drop down field. Select Done to confirm.LB_Loop Screen_Use Existing Field.png
  4. In the Form Outline, the screen name will reflect the name of the key field but this can be edited to something more specific, i.e. "Rooms and Furniture List."
  5. Select the internal screen, currently labelled "New Screen #," and add another drop down field called "Furniture Piece" to the center workspace.
  6. Hover over that screen in the Form Outline and select the loop icon and select Use Existing Field again.
  7. Select the screen that is nested within "Furniture Piece" and give it a name, i.e. "Furniture Details."
  8. Add any fields that you would like to add further context to the furniture piece that has been selected within that room.

The mobile user will interact with the Advanced Loop similarly to how they interact with a regular loop, but they will complete all furniture pieces associated with a room before returning all the way back to the first screen to choose the next room.

Please Be Aware

Before implementing advanced loops in your form, please note that advanced loops are not compatible with the PDF Designer due to their complexity. If you already have a designed PDF, any existing loop converted to an advanced loop will no longer work. If you still need an advanced loop, either use the Standard PDF or contact our Client Engagement Services team to learn more about Custom PDF.

To learn more about GoCanvas Client Engagement Services, please contact your GoCanvas Customer Success Manager, Account Manager, Account Executive, or submit a ticket to support.

Did we answer your question?

Please let us know by voting below. All we ask is if you downvote, please let us know how the content can be improved in the comments!

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.