Hi there!
Could I add under "Default Value", under "PHP Code", something to act as a computed field?
Something that calculates the sum of all fields that have been referenced?

Could this be done? Or maybe adding a computed field?

Comments

Rosamunda’s picture

* bump *

steve.m’s picture

There are problems handling the default values in this module (which will hopefully get fixed soon), and it totally ignores the PHP code. So there's nothing currently built in that will let this work.

What would be added up exactly? The references contain text or node/user references, which aren't obviously able to be added up. If the description fields were all numeric, they could probably be summed fairly easily.

Depending on what you are trying to accomplish, a view that calculates totals might be what you need.

Rosamunda’s picture

Thanks for your reply Steve!
Yes, I´ve tried Views Calc, the thing is that I need to do more calculus than just sum/rest. I need percentages and interest rate... And don´t know, yet, how to manage it.