Marmot Manual

IV. The MU_Form_Section Class

Introduction

The MU_Form_Section class is never instantiated directly, but is used in the process of form creation. MU_Form::add_section() returns an MU_Form_Section object. The properties and methods below can be used on that object.

Properties

Read/write properties

These properties can be set by the developer after creating an MU_Form_Section object.

  • title - The title of the section, often displayed above the section.

  • instructions - a block of instructions, often displayed beneath the title.

Table of Contents

MU_Form_Section::add_block - Adds a block of form elements to a section
MU_Form_Section::add_input_item - Adds a form element to a section