Repeating sections in Nintex Workflow Cloud! Repeating sections in Nintex Workflow Cloud®!

Nintex Forms provides many ways for users to collect information using various basic controls such as short and long text, number, date/time, images, and even file attachments. However, there is one control that Nintex Forms needs to collect more complex data: the repeating section control.

The power of repeating sections

The repeating sections in Nintex Workflow Cloud® allows you to collect information in multiple instances, or rows, in a specific section of a form. It’s a  useful tool, but did you know that it can also perform row-based calculations on the data that is entered into each form?

With this functionality, users can build complex form solutions, such as inventory management forms and expense reimbursement forms, or even a simple menu ordering form.

Speaking of a simple menu ordering form, this exact form is readily available to you to use in the Nintex Solutions Accelerator Gallery.

Let’s look at how the Food Order Menu form is designed.

Repeating sections in action

This repeating section example utilizes three main portions of the Nintex Forms Designer in Nintex Workflow Cloud:

  • Controls
  • Rules
  • Variables

Controls are as follows:

  • Choice – Single
    • Menu Item
  • Number
    • Quantity
    • Per Item Cost (read-only)
    • Line Total Cost (read-only)
  • Label
    • Total Order
  • Repeating Section

After nesting the choice and number controls into the repeating section control, you will build variables. The variables will be required for two purposes.

First, you need to determine the constant values of the per item cost. In the example below, pasta costs $10.99 per item. The ‘decFormTotal’ variable will use the form function of sum() to add the line total cost of each row in the repeating section.

Second, you will need to build the form rules for each item in the choice – single dropdown (pizza, pasta, salad). These rules will set two configurations in how your form operates. Note that it will state that if a dropdown value equals ‘x’, the per item cost is set to the per-item cost variable you previously built. Additionally, these rules are only going to be applied to the repeating section and not the entire form.

Within the same rule, you will also create a formula to multiply the item quantity with the per-item cost (Item Quantity * Item Cost).

Repeat these same rules for each item in the choice – single dropdown.

To show the form total below the repeating section, click on the label control to open the configuration pane. In the ‘Text configuration’ section, type ‘Total Order: $’ and then use the ‘Insert’ tab to insert the decFormTotal variable.

The menu order form and other Nintex Workflow Cloud solutions are available in the Nintex Solution Accelerator Gallery.

Not sure where to start with Nintex Workflow Cloud? Nintex University is your source for getting up and running quickly with the Nintex Process Platform. Or, if you need help on a particular feature or function of Nintex, be sure to check out Nintex Help Files.

 

 

If you are interested in learning more about the Nintex Process Platform and what it can do to help your organization manage, automate, and optimize your business processes, click here to request a live demo.

 

 

Sean Fiene

Nintex Technical Enablement Manager Sean Fiene is a web developer, Nintex Forms specialist, and lover of foods. With over 9 years' experience in SharePoint and Nintex technologies, he's passionate about using workflow automation, forms, and mobile solutions to drive greater productivity and success across industries and business scenarios.

Request a live demo
See how you can manage, automate and optimize your business processes today ‐ get a demo from one of our experts.
Why Our Customers Trust Nintex on

Please wait while form loads...

Couldn't load the form.

Please disable your ad blocker or try a different browser. If you continue to experience issues, please contact info@nintex.com