[Typo3-dev] thoughts on the FE lib

Martin Kutschker Martin.T.Kutschker at blackbox.net
Thu Oct 30 11:35:59 CET 2003


Hi!

Some points:

- Don't make the lib rely on Javascript or any other client technology for form preview/submission. 

- Have "display values" for "text fields" and "bitmask arrays", eg internal values 0/1 are displayed as male/female or value 5 is displayed as "yellow,blue" given that bit 0="yellow" and bit 2="blue". *)

- Allow upload fields to be previewed and changed **)

- Field validation must not prevent form submission if a field is not required and empty (eg email validation chokes on empty fields). *)

- use TCA or an extension of it for validation and labels, but allow to extend/change for FE purposes.

Masi

*) I have done a (private) enhancement for fe_adminLib.inc on these matters.

**) Here I have a crude hack for image fields with maxItems=1. 





More information about the TYPO3-dev mailing list