repeating-data

{repeating-data}

Plugin: Scaffolding Plugin

Allows the dynamic addition and deletion of repeating sections.

Description

Any standard wiki content can be contained inside the body.

Usage

{repeating-data:Name}
Repeating content.
{repeating-data}

Parameters

Name Required Default Description
[default]/name
The name of the repeating section. Must be unique to the scaffold.
initialRows
The number of rows to have in the section initially. Saves users from having to hit '+' repeatedly on a new page.
order
ascending
If set to 'descending', the content will be sorted in in reverse order, and new rows will be added to the top of the repeating section.

Examples

Contact Details
{repeating-data:Contacts}
h2. {text-data:Name|required=true}

Email: {text-data:Email}{text-data}
Phone: {text-data:Phone}{text-data}
Address: {text-data:Address|type=area|width=300px|height=150px}{text-data}
{repeating-data}

See Also

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.