We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Calculated field type

Development and Programming

trenchard's avatar
trenchard
128 posts
14 years ago
trenchard's avatar trenchard

Has anyone had success building a calculated field type where other field values can be used to establish value for the field. I don’t see any plug ins for this.

       
tidy's avatar
tidy
196 posts
14 years ago
tidy's avatar tidy

If you are happy to do the calculations in your templates rather than having a calculated field, this add-on might help: http://www.eec.ms/add-ons/mx-calculator

       
joost's avatar
joost
62 posts
14 years ago
joost's avatar joost

I’m also looking for this kind of field type. Would like to calculate the total price (price + shipping costs) and sort based on this price in my templates.

Any updates on this?

       
Bhashkar Yadav's avatar
Bhashkar Yadav
727 posts
14 years ago
Bhashkar Yadav's avatar Bhashkar Yadav

You can develop a plugin to process/calculate the values of more than one field type. This will output the desired result into template. Plugin call would be like:

{exp:plugin_name fieldValue1={fieldValue1} fieldValue2={fieldValue2} fieldValue3={fieldValue3}}

You can pass how many values here and these can be processed into plugin. Please share your thoughts on it.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.