Mike Macgirvin wrote the following card Fri, 29 Sep 2017 20:24:11 +1000
Forms Interface
The Forms Interface is essentially an abstraction layer for the creation of forms. This is critical for content management. At a high level, everything which is needed to create a form must be represented in an array. This allows it to be manipulated and modified prior to rendering. It is only rendered at the time of HTML display. Necessary elements include:
The interface should be used to present all or most of the forms provided in the project webpages. It should also be possible to use the forms interface to create custom forms that are embedded in posts or webpages and the results saved in accessible database fields.
The Forms Interface is essentially an abstraction layer for the creation of forms. This is critical for content management. At a high level, everything which is needed to create a form must be represented in an array. This allows it to be manipulated and modified prior to rendering. It is only rendered at the time of HTML display. Necessary elements include:
- The form submission parameters
- various input types
- "panels"
- descriptive text
- submission controls
- validation functions and required elements (including JS event handling for those with code permission)
The interface should be used to present all or most of the forms provided in the project webpages. It should also be possible to use the forms interface to create custom forms that are embedded in posts or webpages and the results saved in accessible database fields.