Template Keywords

Miscellaneous - optional

The /optional/ keyword indicates that a field can be left empty but the report is still indicated as complete.

/optional/,<field name>

The field name must be a SM-Reports field name predefined for use on a report template. The field name is the field that is allowed to be empty. The /optional/ line must appear at the top of the template.

Example

This example is from a template that has space for school activities a student may take part in. In the Report Definition, the Custom 2 field is used for activities, which is named reserved2 on the template.

/optional/,reserved2

This line means that students without any activities will still be shown as complete in the List and View Reports command.

 

Contents
Search