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 label 

macro
title
Code Block
macro
{list-label}
Example 4Example 4

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

Anchor

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
  • 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

and filters the list using the label pet.

 Columns

 Columns are added to the list by adding other list macros to the body of the list macro.

Image Removed
Image Added

This displays the following list on the published page:

Image Removed
Image Added
 macro
  •  macro is used to display a list column for the

mammal label.
  • mammal label

Info

A different heading is added using the Edit macro dialogue box.

 macro
  •  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.

 macro
  •  macro displays the list column Common Pet Names

.
Info

This is a text input column. 

Markup
Code Block
titleMarkup
{
checklist
list:label=pets|name=Animals as household pets|useboards=false}
{
checklist
list-label:heading=Mammal?|label=mammal} {
checklist
list-metadata:heading=Notes} {
checklist
list-input:cols=20|heading=Common Pet Names}
{
checklist checklists contents macro

 macro

list-label

 macro macro

 macro

list-input macro