CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase - Placing calculated fields within a case
Pages: [1]

Author Topic: CiviCase - Placing calculated fields within a case  (Read 6965 times)

FETmz

  • I’m new here
  • *
  • Posts: 18
  • Karma: -1
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.21
  • MySQL version: 5.5.31
  • PHP version: 5.3.10-1ubuntu3.6
CiviCase - Placing calculated fields within a case
April 16, 2013, 11:15:41 pm
When creating a case is there a possibility to make two custom data fields be able to perform a calculated field result for example:
The quantity of Bananas multiply the price of the bananas = total amount owned [Number x price = total amount]

Therefore the two data fields that have data entered within them are able to make an automatic calculations without the user requiring to manual acquire it? Is it possible to make a connection between two separate data fields?

Thank you in advanced!


demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: CiviCase - Placing calculated fields within a case
April 17, 2013, 03:43:36 pm
I don't think this is possible with built-in features, but there are several methods for customizing that should work. Maybe some jquery in a .extra.tpl file. http://book.civicrm.org/developer/current/techniques/templates/

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: CiviCase - Placing calculated fields within a case
May 20, 2013, 06:56:46 am
I would use hook_civicrm_CaseSummary to display the extra info.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCase - Placing calculated fields within a case

This forum was archived on 2017-11-26.