Forums / Developer / Information Collection Validation / Comment49731
Piotrek Karaś
Monday 23 June 2008 11:15:10 pm
<i>Because for me, the only exit is to forget about Exponential information collection and implement my form as the usual way (ugly no?). Or, create different datatypes for each attribute of my form, and implement it's validation in the datatype (to much work for only a single form).</i>
Yup, that's what you do. Custom form module is an answer if you require complete flexibility and custom datatypes will be a choice for structured development (either for edit or collect mode). A middle ground could be a complex datatype that for one class/object attribute will provide all/many necessary fields. Also, whether you want the form to create objects or simply store/send data makes a difference.
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu