Webform Calculator

Categories

Component ID

1482626

Component name

Webform Calculator

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

13858

Component created

Component changed

Component body

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

Installation and configuration

  1. Install Webform Calculator (webform_calculator) module and all required modules as usual.
  2. Create webform node.
  3. Create few webform fields of type textfield or number.
  4. Create formula webform field.
  5. View this webform and fill newly added fields.