Sf attr boolean

From ARK
Revision as of 11:16, 14 November 2008 by Andydufton (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

The sf_attr_boolean is used for assigning a boolean (yes/no) attribute to an item.

Additional Fields

This subform does not require any additional fields.

Example Configuration

$conf_mcd_closed =
   array(
       'view_state' => 'max',
       'edit_state' => 'view',
       'sf_title' => 'recflags', //appears in the titlebar of the subform (mk nname)
       'sf_html_id' => 'recordmeta', //the form id tag (must be unique)
       'sf_nav_type' => 'full',
       'script' => 'php/subforms/sf_attr_boolean.php',
       'op_label' => 'space',
       'op_input' => 'save',
       'op_moddif' => 'no',
       'fields' => array(
           $conf_field_closed,
       ),
);