Zend Framework: Zend_Form_Element_Note Component Proposal
| Proposed Component Name | Zend_Form_Element_Note |
|---|---|
| Developer Notes | http://framework.zend.com/wiki/display/ZFDEV/Zend_Form_Element_Note |
| Proposers | Jan Pieper |
| Zend Liaison | |
| Revision | 1.0 - 16 July 2008: Initial Draft. (wiki revision: 7) |
Table of Contents
1. Overview
Zend_Form_Element_Note is a simple component that displays plain text in Zend_Form. Very usefull if you do not want users to edit a fields value.
There is still Zend_View_Helper_FormNote (see references), but in an XHTML document it causes a warning (used W3C HTML Validator) because the label belongs to no matching element.
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
All requirements are shown as dependencies below.
4. Dependencies on Other Framework Components
- Zend_Form
- Zend_Form_Element_Xhtml
- Zend_View_Helper_FormElement
5. Theory of Operation
The component displays plain text using html <span> element in a form build with Zend_Form.
6. Milestones / Tasks
- Milestone 1: [DONE] Initial Draft
- Milestone 2: [DONE] Use cases
- Milestone 3: [DONE] Class skeletons
- Milestone 4: Ready for Comments
- Milestone 5: ...
7. Class Index
- Zend_Form_Element_Note
- Zend_View_Helper_FormNote
8. Use Cases
| UC-01: User can change his account data, but not his login. |
|---|
3 Comments
comments.show.hideJun 12, 2009
Nils Caspar
Ready for review?
Jun 12, 2009
Kai Uwe
We don't need this. Ugly HTML with no semantics.
The solution: create a new element for Zend_Form:
There is already a helper for Zend_View: „Zend_View_Helper_FormNote".
Feb 05, 2011
Dolf Schimmel (Freeaqingme)
Archiving this proposal, feel free to recover it when you want to work on it again. For more details see this email.