Computed fields in Dexterity?
Sean Upton <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CANjV-2NmkHwD3BLCuV7K4S_hsVJdpybhzObVTtOOnxDoaO2kiw@mail.gmail.com> |
Is there any facility to do computed fields (similar to Archetypes) in zope.schema fields and z3c.form? I want to apply some kind of function (sum, average, etc) callable across other fields' respective values on the same form/context -- e.g. computed field_d = SUM(field_a, field_b, field_c). My only current constraint is that it be plone.supermodel-friendly (possible to serialize; maybe something syntactically similar to the way spreadsheets handle expressions). My sense is that there is not anything yet out there to do this? Thoughts? Sean ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users