Displaying Field Contents as Checkboxes
You can output the first character of a field as a checkbox on the output screen by using the following syntax:
Syntax
WRITE f AS CHECKBOX.
If the first character of field f is an "X", the checkbox is displayed filled. If the first character is space , the checkbox is displayed blank.
By default, the checkboxes created by this statement are ready for input. With other words, the user can fill them or make them empty by mouse clicks. For information on how you can control if output fields are ready for input or not, see Enabling Fields for Input. Fields that are ready for input are an essential component of interactive lists that allow a dialog with the user (see Interactive Lists.