Ferreteria/modules/forms: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(requirements)
 
m (2 revisions imported: moving this project here)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==Related==
* {{l/ferreteria/|usage/forms|usage}}
==Requirements==
==Requirements==
The '''forms''' component needs to be able to do the following:
The '''forms''' component needs to be able to do the following:

Latest revision as of 16:42, 22 May 2022

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