Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Overview
Provides a formula webform component for computed values, where you can enter a mathematical calculation based on the other fields. E.g., create a formula field with value formkey1 * 0.1 * formkey2.
Features
- Creates new component type that calculates values of other components while you typing and saves result to database.
- Supports component types: number, textfield, checkboxes, radios, select.
- Available operators for formula value:
+
,-
,*
,/
,(
,)
,%
Requirements
- Token module.
- Webform 4.x module.
Installation and configuration
- Install Webform Calculator (webform_calculator) module and all required modules as usual.
- Create webform node.
- Create few webform fields of type textfield or number.
- Create formula webform field.
- View this webform and fill newly added fields.
Supporting organizations:
Initial development and support.
Project information
- Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues. - Module categories: Content Editing Experience
- 2,249 sites report using this module
- Created by lefnire on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
7.x-2.0-beta1
released 2 November 2016
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-2.x-dev updated 29 Jan 2017 at 20:23 UTC