Custom Forms
From IHRIS Wiki
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
- choose the form class
- choose a short name
- give a description
- set the data storage mechanism