Simple Percentage Field screenshot (front-end)
Simple Percentage Field screenshot (format settings)

🇺🇦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

Introduction

The Simple Percentage Field module provides a new field type for displaying percentage values or values of "from-to" types in a progress bar style.

This module is useful for websites where some percentage or progress values should be displayed in some graphical way (not only by percentage digit).

Also, the "Simple Percentage" formatter can be used with Drupal Core's numeric fields (float, decimal, and integer).

To submit bug reports and feature suggestions, or track changes: https://www.drupal.org/project/issues/simple_percentage_field

Requirements

Requires the 'Field' module (Drupal Core).

Installation

  • Install as you would normally install a contributed Drupal module.
    See: https://www.drupal.org/node/895232 for further information.
  • If you are using Composer you can install this module by the command:
    composer require drupal/simple_percentage_field

Getting Started

  1. Install Simple Percentage Field (composer require drupal/simple_percentage_field).
  2. Enable the Simple Percentage Field module.
  3. Add a new field of the "Simple percentage" type to your Node (or other entity) type.
  4. Configure the field's settings, set required min and max values.
  5. Use the field in your entity!

Maintainers

Project information

Releases