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 themammal
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 headingNotes
. The display values are not editable from this list. They can only be edited in the source list where the column was added using thelist input
macro. - the
list input
macro displays the list column Common Pet Names. This is a text input column.
Markup
{checklist:label=pets|name=Animals as household pets|useboards=false} {checklist-label:heading=Mammal?|label=mammal} {checklist-metadata:heading=Notes} {checklist-input:cols=20|heading=Common Pet Names} {checklist}
Back to checklists User Guide contents |
---|
|
|
|
|