Custom Forms

From IHRIS Wiki
Revision as of 10:02, 3 September 2009 by Litlfred (talk | contribs) (Created page with 'Provide a means to design forms from the web interface. * Define a form class with: **the class that it extends (Defaults to I2CE_Form) **the fields it contains: ***what is the ...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Provide a means to design forms from the web interface.

  • Define a form class with:
    • the class that it extends (Defaults to I2CE_Form)
    • the fields it contains:
      • what is the name of the field
      • what is the I2CE_FormField class of the field.
      • what is the (default) header
      • if a mapped field, what are the forms it can take values in
      • if a mapped field, what is the (default) displayed fields for tiered lists (e.g. county, district, region country) this should be done in a nice drop-down interface to choose the form/linked field.
    • if if it is a list form, what are the primary and secondary display fields:
      • need to move the code for defining primary/secondary display fields out of the class constants and into magic data and adjust the hooked method into the class autoloader to allow for constants or move the display fields
  • Define a form