Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3
minLevel2
indent0px
typeflat
separatorpipe
Excerpt
hiddentrue

Creating a label check heading and allowing plain text notes for a list column - Example 4

list label 

macro
Code Block
{list-label}

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.

Info

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.

Image RemovedImage Added

This displays the following list on the published page:

Image RemovedImage Added
  • the list label macro is used to display a list column for the mammal label

Info

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

Info

This is a text input column. 

Markup
Code Block
{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}