Ferreteria/modules/forms

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search

Related

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