Skip to main content

Resources

CB Ratio Field Plugin

The ratio field type plugin adds a "Ratio Field" to the available list of CB fields. It does not actually add a new field to the database and cannot be edited by the user. It simply calculates a user's ratio based on 2 other numeric CB fields.

You can define any 2 numeric CB fields that exist in the database (eg. any integer or decimal fields) to be used to calculate the ratio. If displayed as a decimal or percentage, you can set the number of decimal places to round the result to. If displayed as fraction, you have the option to simplify it if possible and define what is used as the separator.

Installation Instructions
  1. Install the plugin through the CB Plugin Management page
  2. Publish the plugin on the CB Plugin Management page
  3. Add a new “Ratio Field” type from the CB Field Management page
  4. Define the field names to use and set the other parameters as desired
Ratio Field ParametersRatio Field Parameters
If you like this plugin, please consider writing a review on the Joomla Extension Directory or the Community Builder Directory...
  • Hits: 10648