Ferreteria/modules/forms

From Woozle Writes Code
< Ferreteria‎ | modules
Revision as of 00:38, 10 September 2018 by htyp>Woozle (requirements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Requirements

The forms component needs to be able to do the following:

  • represent all the different types of input control that can be rendered in a browser, especially without using JS
  • translate values between the following formats:
    • display: text for rendering in browser (in both editable and read-only formats)
    • storage: format suitable for databases (typically, escaped for SQL)
    • native: internal, for performing calculations and comparisons
  • display a collection of controls and static elements (in both editable and read-only formats)
  • receive user-entered data from displayed form
  • display a database record as a form
  • display multiple database records as a continuous form