Jump to content

Recommended Posts

Posted

Hey guys, just working on beefing up a admin view and was wondering if anyone had already made a module that computes its value based on a computation of other fields. I would like to run some math on several fields to deal with deducting and computing taxes based on several other fields on a form and thought this could make a pretty slick module. Most simply what I would like is a field that is only used on edit views which allows me to do something as simply as (field1 + field2) / field3. Possibly something that can be customized on each template or the like. 

Posted

If going that route, I'd recommend you put your code in a file and call it via wireRenderFile() in the module. Have a look at the support thread for some of things guys have been able to pull off using the module. 

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...