For a guide to using the
class consult the creating forms guide.
When the object is first instantiated you must give it an array defining the fields in your form. The options are described in the creating forms guide. The below examples demonstrates how to create a basic form with one text input field requiring an email address to be entered.
Returns an instance of
MK_Form_Field based on the
array containing all of the fields contained within the
MK_Form object. Each array value is indexed by it's key name and contains an instance of
true if a field with the given name exists.
boolean as to wether or not the form has been submitted.
boolean as to wether or not the form has been submitted and validated, correctly.
string containing the form HTML.