cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Build your first Nintex Form - Part 2 of 3 (repeating sections)

Ok, by now you've built your first basic form from a SharePoint list, and this time we show you how you can add more value to it. This article follows on from the previous Build your first Nintex Form - Part 1 of 3.

Let's begin

You may have noticed that the travel request form we created in the first article does not contain an area for destinations. This is where a repeating section comes in handy. 

The first step is to create some room on the form. To move and resize the controls on the form, select a control and use the yellow corners to resize the select the controls you want to move. 

Your form should look something like this. 

form_basic.png

In the space you have created, drag a Repeating Section Control onto the canvas. 

repeating_section.png

Add four Label controls

The next step is to add four Label controls on top of the repeating section. These are going to be the columns for each set of information. The four label controls should be titled; Country, City, Arrival Date and Departure Date. 

To change the title of a Label control, double click on the control and type in the text box. 

country_label.png

Once you have named all your Label controls, your form should look something like this. 

labels.png

Add input controls within the Repeating Section

Now it’s time to add the input controls within the actual repeating section control. Drag a Single line of text control onto the canvas, and sit it inside the Repeating section control below “Country”. 

repeating_section.png

Now copy and paste this control below the next column; City. Your form should look similar to the image below.

copy.png

We’re almost finished the repeating section! 

Add two Date and Time controls

The final two controls, are Date/Time. Drag a Date and Time control below the Arrival Date field, in the repeating section. Double click on the control and in the Date Only field, select Yes

date_time.png

Copy the Date/Time control and paste below the Departure Date label. Your form should look something like this. You may have to rearrange the controls so everything fits. 

depature_date.png

Format the Controls

Add formatting to the Repeating section, so the input controls are consistent with the other controls on the form. Click on the Start Date input control and then select the Format Painter in the Ribbon. The Format painter copies the formatting style from one control to another.

format_painter.png

Click on the Repeating Section control and the formatting will be copied over.

repeat.pngDrag and drop a Label control on the top of the Repeating Section. Double –click on the action and call it Destinations.

repeat2.png

Finally, double click on the Repeating Section control. In the control dialog, locate the Text for add row icon and type in “Add another destination”. 

text.png

Preview the Form

Now we’re ready to Preview.

Click on the Preview button in the Ribbon, and then Generate Preview. When you click on “Add another destination”, another section should open up and look like this.

preview.png

Almost there, let's continue with the final article and add some simple validation and a hyperlink into your Travel Request form > Build your first Nintex Form - Part 3 of 3

Labels: (2)
Tags (1)
Reply
18 Replies
Chris_Ben
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Hi Emily, this is great.  Is there a follow-up tutorial to show us how to work with the data collected in the repeating section?  I understand it is all stored as XML in a multiline field.  Are there any examples that you can provide that show us how to parse the XML?

e.g. for the example above send an email with a list of unique countries visited for a trip or for something even trickier, run some validation across all the line items to make sure the dates don't conflict between destinations.

Cheers,

Chris

0 Kudos
Reply
dan_stoll
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Not exactly the same but this shows you how to use XML from unbound fields in forms, which could be a repeating section

http://www.sharepointpub.com/nintex-dawn-of-the-unbound-data-column/

Reply
Not applicable

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

I added a repeating section to my form but the form does not grow to accommodate added rows, so when the user adds a row, it overlays the Save button below the section. Can you help?

0 Kudos
Reply
Not applicable

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Hey Pat Yadon, I've moved your question to a new discussion thread here https://community.nintex.com/message/3593

Reply
artman
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

After add repeating the data of repeating didn't view on the list and search and that information can't use in my report or search.Is it correct?

0 Kudos
Reply
Chris_Ben
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Hi Naeemeh, did you bind the repeating section control to the multivalue text field?  If you do that, you should be able to see the XML and from there use the link that Dan posted above to parse.

Cheers,

Chris

0 Kudos
Reply
artman
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Hi Chris, I don't understand about multivalue text field, I don't have this field in sharepoint field.

Thanks

Naeemeh

0 Kudos
Reply
Chris_Ben
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Sorry Naeemeh, I was typing a little too quickly.  I meant a multi-line text field.  When you create a new column it is described as "Multiple lines of text".  Create this column and make sure it is plain text only (it defaults to enhanced rich text).  You can then bind your repeating section to that field/column.

Cheers,

Chris

Reply
artman
Nintex Newbie

Re: Build your first Nintex Form - Part 2 of 3 (repeating sections)

Hi Chris

Thank you,for your answer.

0 Kudos
Reply