0

Part Repeater

  • updated 4 yrs ago

Description

This part displays a list of input boxes for each item in a collection as well as an additional input for adding a new entry.

Editor Fields

Tab

Field Name

Description/Use

Type/Options

Optional/Mandatory

Basic

Caption

This is the caption for the question.

Text

Optional

Basic

Collection

This is the path to the collection where the system stores the repeated data items.

Text

Mandatory

Basic

Add new button

By default, the system adds an empty input field at the end of a list of input fields. When the user enters a value in the empty field and the system submits the page it adds a new empty input box.

When you enable this option the system adds a "+" button so the user can add multiple items before submitting the page.

Dropdown

Optional

Basic

Input-Type

This is the type of input box that is repeated. Currently, the system only supports text inputs.

Text

Mandatory

Style

Element template

This field contains the name of the part template assigned to this part type. See part templates for more information.

Text

Optional

Style

Repeater control template

This is the template the system uses to render the control in each element in the collection. If you leave this field empty the system will render only the control. You can also add the repeatbuttons in the output: 

<div class="repeatline">$(control)$(repeatbuttons)</div>

Text

Optional

Style

Repeater validation template

 The system can display the validation result per line. This template controls the way this validation result is rendered. If you leave this field empty the system uses a default template: "$(validation)".

Text

Optional

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 4 yrs agoLast active
  • 24Views
  • 2 Following

Home