Example - list label macro
Example 4 Creating a label check heading and allowing plain text notes for a list column
In this example we are are going to:
use a heading Mammal? for the label check, different from the actual label name
mammal
show the comments column values set in a previous example (Example 3) from another list
add a column to input plain text
The comments-heading values are stored as metadata.
These comments can be accessed using the list metadata macro.
The example uses the list macro and filters the list using the label pet
. Columns are added to the list by adding other list macros to the body of the list macro.
This displays the following list on the published page:
the list label macro is used to display a list column for the
mammal
label
A different heading is added using the Edit macro dialogue box.
the list metadata macro is used to display the metadata values from an existing list. These values are from the list with the comment heading
Notes
The display values are not editable from this list. They can only be edited in the source list where the column was added using the list input
macro.
the list input macro displays the list column Common Pet Names
Markup
{list:label=pets|name=Animals as household pets|useboards=false}
{list-label:heading=Mammal?|label=mammal} {list-metadata:heading=Notes} {list-input:cols=20|heading=Common Pet Names}
{list}
list macro |
list-label macro |
list-metadata macro |
list-input macro |