NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 21 Next »

Add and Remove Repeating Sections with 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 information Exit Disclaimer logo

The general form is

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

An example follows.

{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}

Name

RequiredEmailPhoneAddress

  • No labels