NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{scrollbar:icons=false}
h1. Add and Remove Repeating Sections with 
Scrollbar
iconsfalse

...

Repeating-data Macro

...



The repeating-data macro allows the addition and removal of repeating sections in Edit view.

...



This page shows the general form and an example.

...



[More

...

The general form is:

Code Block
 information|http://www.customware.net/repository/display/AtlassianPlugins/repeating-data]

The general form is:
{code}{repeating-data:Name}
Repeating content.
{repeating-data}{code}

An example follows.

...



{code
}{repeating-data:Contacts}
h2. Name: {text-data:Name|required=true}{text-data}
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}}{code}

{repeating-data

...

Name: Nametrue

...

:Contacts}
h2. Name: {text-data:Name|required=true}{text-data}
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}