6.3. The Form Object

When you called Solar_Sql_Model_Record::newForm(), it returned a Solar_Form object for you. The form object contains properties that describe:

  • Each individual element in the form (input, radio, textarea, select, etc) including its name, type, label, value, description, attributes, options, and any invalidation messages;

  • Attributes for the form tag (action, method, id, class, etc.);

  • Overall feedback messages for the form as a whole; and

  • The current status of the form as a whole (true means the form represents a process success, false represents a process failure, and null means that the form has not been processed yet).



Local