Calculated Fields Form

Description

Absolutely! The “Calculated Fields Form” plugin opens up a world of possibilities. Here’s a breakdown of what you can achieve:

Financial Calculations: Design forms that automatically compute totals, taxes, discounts, and other financial metrics.

Booking Forms: Seamlessly handle date operations, availability checks, and booking calculations.

Product Pricing: Dynamically calculate product prices based on user inputs or predefined rules.

Math Operations: Perform basic arithmetic, percentages, and complex mathematical functions.

Text Processing: Manipulate text fields, concatenate strings, and format data.

Date Operations: Handle date differences, age calculations, and time-related tasks.

Advanced Operations:

Distance Calculations: Compute distances between locations.

Chart Generation: Create charts dynamically based on form data.

Third-Party Service Integration: Call external APIs or services for real-time data retrieval.

And the best part? All resulting forms are mobile responsive, ensuring a seamless experience across devices.

The most remarkable aspect is that you don’t need to hire a developer to create forms. With basic knowledge, you can have professional forms in minutes.

The form builder is entirely visual, offering a wide selection of controls (Text fields, Numbers, Currency, Date/time, Slider control, Email, Radio buttons, Checkboxes, Container fields, Multi-page control, QR code reader, Recording, Calculated fields, and many others). This versatile toolkit empowers you to create customized forms effortlessly.

And its new AI assistant provides exceptional support for developing complex calculation formulas and designing custom forms with ease.

Features

Main features:

  • Visual form builder with an intuitive and interactive interface.
  • Includes general-purpose controls such as radio buttons, checkboxes, menu lists, date fields, slider controls, numeric fields, text currency fields, etc.
  • Includes calculated fields whose values result from operations involving other form fields.
    Insert as many calculated fields in the form as you need.
  • Contains an advanced formula editor associated with the calculated fields with syntax highlighting and error detection.
  • Features many operations modules: mathematical operations, operations with dates, financial operations, distance operations, text management, operations for calling remote services, etc. The calculated fields can identify numbers and prices within the values of the fields.
  • Send notification emails with the data collected by the form.
  • Distributed with several predefined forms that you can use as a starting point for your projects.
  • Includes several design templates.
  • Supports multi-pages forms by inserting page break controls between fields belonging to different pages.
  • Possible to define dependency rules between fields in the form, which is very useful in the design of wizards.
  • Allows the grouping of fields inside container controls (Div, Fieldset, and Popups).
  • Enables formatting the form into columns for a more organized layout.

The “Calculated Fields Form” plugin includes integration with popular page builders:

  • Classic WordPress Editor
  • Gutenberg Editor
  • Elementor
  • Page Builder by SiteOrigin
  • Beaver Builder
  • WPBakery Page Builder
  • DIVI Builder

For other editors, it is possible to insert the form into the pages via its shortcode. Each web form has an associated shortcode that allows you to insert it wherever you want.

[CP_CALCULATED_FIELDS id="1"]

Other features:

  • From the plugin configuration page, it is possible to duplicate a form by pressing the “Duplicate” button associated with it. By dupplicating a form, you can reuse the work already done.
  • Includes a troubleshooting and optimization area.
  • Allows you to disable forms in the indexing process to improve the speed of the website.
  • Includes a version control in the forms to recover previous versions.

Predefined forms:

“Calculated Fields Form” comes with dozens of predefined forms that you can select during the form creation process, or you can build new forms from scratch.

Calculated Fields Form Commercial
The free version of the “Calculated Fields Form” plugin provides essential functionality, including sending notification emails to the website owner with the form data, basic operations for use with equations, and core features such as customizing form design, setting up conditional fields, and modifying the form layout. More advanced distributions, Professional, Developer, and Platinum, come with additional capabilities such as sending copy emails to form users, integration with payment gateways and external services, controls for managing database connections (including links to external data sources like Google Sheets in CSV format), and a variety of complex operations. All commercial versions are available as a one-time purchase with lifetime access to plugin updates. ( https://cff.dwbooster.com/download )

Features of the Professional version:

The commercial plugin versions are one-time purchase with lifetime access to plugin updates ( https://cff.dwbooster.com/download )

  • Includes all the features of the free version of the plugin.
  • Submit the data collected by the forms and store it on the website for review.
  • Send confirmation emails to the users with the data collected by the form.
  • Integrate the form with PayPal and Stripe. Dynamically compute the charge amount using a calculated field.
    Payments allow SCA (strong customer authentication), compatible with the new payment services (PSD 2) – Directive (EU).
  • Export and import forms between different WordPress sites.
  • Different mechanisms to protect forms, such as captcha, WordPress nonces, and honeypot fields.
  • Associate “Thank You” page with the form, where you can show a summary of the form’s submission.
  • Dashboard widget to show the last week’s submissions.
  • Cache the forms to increase the rendering speed.
  • Export the information submitted by the forms to a CSV file and use it with third-party tools such as Excel, OpenOffice, LibreOffice, or any other spreadsheet editor.

Features of the Developer version:

Includes add-ons to extend the form features and make use of third-party plugins and external services

Features of the Platinum version:

  • Includes all the features of free, Professional, and Developer versions of the plugin.

Extending features add-ons

  • CSV Generator add-on: Exports form data to CSV files and attaches them to notification emails.
  • PDF Generator add-on: Creates PDF documents from form data and includes them in notification emails.
  • Signature add-on: Converts fields into signature fields so users can sign using a mouse or touchscreen.
  • Unique Fields Values add-on: Ensures users enter values that haven’t been used in previous submissions.
  • iCal add-on: Sends iCal attachments in emails for importing events into Google Calendar, Outlook, and more.
  • Upload Files add-on: Saves uploaded files to the WordPress media library and supports additional file types.

Payment Gateways add-ons

Integration with third-party services add-ons

Integration with third-party plugins add-ons

Below, some possible formulas are included as examples, but the possibilities are endless.

  • With simple mathematical operations:

    fieldname1 + fieldname2
    
    fieldname1 * fieldname2
    
    fieldname1 / fieldname2
    
    fieldname1 - fieldname2
    
    fieldname1 - fieldname2
    
  • With mathematical operations involving multiple fields and grouped fields:

    fieldname1 * (fieldname2 + fieldname3)
    
  • With rounding operations. Round the result to two decimal places:

    PREC(fieldname2 / fieldname3, 2)
    
  • There are infinite number of formulas that can be created using complex structures. For example, the following formula includes conditional statements:

    (function () {
    if (100 < fieldname3) return fieldname1 + fieldname2;
    if (fieldname3 <= 100) return fieldname1 * fieldname2;
    })();
    
  • For complex formulas/equations you must use the function format with return statement to return the result to the calculated field:

     (function () {
        var result = 0;
        /* Your code here */
        return result;
    }) ();
    

Operations and operators to use in equations/formulas

One of the “Calculated Fields Form” strengths is the ability to use any valid JavaScript code to implement the equations/formulas.

However, the plugin includes a wide variety of operations and operators to simplify the development process.

Mathematical Operations and Operators

Conditional Operations

Field Handling Operations

Operations for interacting with external services

Operations for handling URLs and query strings

In addition to the operation modules listed above, the Developer and Platinum versions of the plugin include additional modules:

Date Time Operations

Financial Operations

Distance and Travel Time Operations

Operations to generate charts

Create variables from parameters received by “GET” or “POST”, “SESSION” variables, or “COOKIES” to use in the equations

The plugin includes the shortcode [CP_CALCULATED_FIELDS_VAR] to generate JavaScript variables from parameters received by “GET” or “POST”, “SESSION” variables, or “COOKIES”:

[CP_CALCULATED_FIELDS_VAR name="..."]

In the shortcode, you must replace the “…” symbols with the name of the parameter or variable. The variables are created as properties of the cff_var variable. For example, in the [CP_CALCULATED_FIELDS_VAR name=”my_var”] shortcode, you can access the variable value from the equations by using cff_var[‘my_var’], or cff_var.my_var

For example:

[CP_CALCULATED_FIELDS_VAR name="varname"]

You can use the variables generated through the shortcode [CP_CALCULATED_FIELDS_VAR] in the formulas of the calculated fields: fieldname1*cff_var.varname

The complete list of parameters accepted by the variables shortcode is available at the following link: CLICK HERE

Complementary Plugins

Odoo Contacts, Google Sheets Intergration, [WhatsApp Button], Xero Contacts, Zoho Leads, Zoom.us Meetings Integration, Data Collector, WooCommerce Products And Variations Prices, Multilanguage Forms, Progress Bar, Upload Files Path, QR Code Generator, Database Queries, Draft Form Data, Email Validator, Reminder Emails, Rich Text Editor, Submissions Removal, Use Limit, Fields Synchronization, RegExp Validation, Autocomplete Fields, Measurement Units Converter, Create Posts, Currency Exchange, hCaptcha and growing…

Screenshots

  • Calculated forms list
  • Inserting the form using the Classic Editor
  • Inserting the form using the Gutenberg Editor
  • Inserting the form using Elementor
  • Inserting the form using Page Builder by SiteOrigin
  • Inserting the form using Beaver Builder
  • Inserting the form using WPBakery Page Builder
  • Sample calculated form
  • Calculated field settings
  • Advanced equations editor
  • Calculator Form builder
  • Editing general fields
  • Available designs
  • Add-ons section
  • WooCommerce add-on
  • SalesForce add-on
  • WebHook add-on, and its integration with Zapier

Blocks

This plugin provides 2 blocks.

  • Insert CFF
  • Create var from POST, GET, SESSION, or COOKIES

Installation

To install the “Calculated Fields Form” plugin, please follow these steps:

  1. Download the .zip the Calculated Fields Form plugin.
  2. Go to the Plugins section on your WordPress.
  3. Press the “Add New” button at the top of the section.
  4. Press the “Upload Plugin” button and then select the zipped file downloaded in the first step.
  5. Finally, install and activate the plugin.

To build a form, go to the menu option “Calculated Fields Form”

To insert the calculated / contact form into some content or post, use the corresponding form’s shortcode. Each web form has associated a shortcode.

FAQ

Q: What controls are included in the plugin?

A: The Calculated Fields Form’s page contains detailed information about each field in the plugin: Click Here

Q: Where can I publish a calculated fields form?

A: You can publish the forms into pages and posts. The shortcode can be also placed into the theme templates. Read more

Q: Can I send the form data and calculated results to the user by email?

A: This feature is included in the commercial versions of the plugin.

The commercial versions of the plugin allow processing the forms’ submissions, send notification emails, and integrate the forms with payment gateways. Comparing the different versions of the plugin

Q: Which are the operations with date values that the plugin allows?

A: List and description of date/time operations

Q: Are there financial operations included in the plugin?

A: List and description of financial operations

Q: How to populate the form fields with URL parameters?

A: Please, read the answer in the FAQ entry: Click Here

Q: How to change the language on the datepicker?

A: There are different alternatives, directly through the form’s structure or uploading a new file to the plugin’s folder. Please, visit the following link to read the instructions: Click Here

Q: How to create relationships between date fields?

A: It is possible to define the min date, max date, or select a date dynamically based on the value of another date field.

Create relationships between date fields

Q: Is there a way to format the form in a table structure (various fields in the same line)?

A: Yes, that’s possible. Please, read the following post in the plugin’s blog: Formatting the form (distributing the fields in columns)

Q: How to display an image in a checkbox or radio button?

A: Displaying images in checkboxes and radio buttons

Additionally, to hide the checkboxes and radio buttons, for using only the images for choosing, enter the following styles definition into the “Customize Form Design” attribute in the “Form Settigns” tab:

fbuilder input[type=”checkbox”]{display:none !important;}

Q: In which order does the plugin evaluate the equations associated with the calculated fields?

A: Evaluating the equations

Q: Can I charge the user the calculated price?

A: That feature is available in the commercial versions of the plugin.

Additional details in the “PayPal Payment Configuration” and Stripe Checkout sections in the documentation page of the plugin.

Q: Non-Latin characters are not displayed in the form. Is there a solution?

A: Please, read the following entry in the plugin’s FAQ: [Click Here]](http://cff.dwbooster.com/faq#q225 “utf-8”)

Q: The calculated form doesn’t appear on the public website. What is the solution?

A: Please inset the shortcode with the iframe attribute: [CP_CALCULATED_FIELDS id="1" iframe="1"]

Q: How to create a multipage form?

A: Insert “Page Break” between the fields belonging to different pages.

Q: How to display a summary of entered data in the form?

A: Insert a summary control in the form, and enter the names of the fields to display in the summary through its settings.

Q: Can I display a summary of the fields on the “Thank You” page?

A: Yes, that’s possible by using the shortcode for results. Additional details HERE

Q: How can I apply CSS styles to the form fields?

A: Applying CSS styles to the form fields

Q: How to create a new template to use with my forms?

A: Creating new templates

Q: What files can be uploaded through the form?

A: Accepted files

Q: How can I include the links to the uploaded files in the notification emails?

A: Inserting the links to the uploaded files into the notification emails

Q: How to use conditional statements in the equations?

A: There are different alternatives to use conditional statements in the equations: Visit the following link

Q: My company has different departments (like the sales department, the support group, etc.). Can I send a notification email to every department when the form is submitted?

A: Yes, that is possible. You must enter the emails’ addresses separated by the comma through the “Destination emails” attribute in the form’s settings.

Q: How to send only specific fields in the notification emails?

A: The notification emails can include all fields submitted by the form (<%INFO%>), or specific fields by using their tags(<%fieldname#%>). Furthermore, there are other tags you can include in the notification emails.

Please, visit the following link to get the complete list of tags to include in the email: Accepted tags

Q: How to implement custom operations?

A: Please, read the answer in the FAQ page of the plugin: Click Here

Q: How to define dependencies between fields in the form?

A: Please, read the following post in the plugin’s blog: Click Here

Q: How to select a choice in a dropdown field, or radio button, based on a calculated value?

A: I’ll try to describe the process with some hypothetical examples. Assuming the radio button field is fieldname123, and you can select the choice with the value 5, uses the following piece of code as part of the equation associated with the calculated field:

    getField(123).setVal(5);

But if the fieldname123 is a checkbox field and you want to select the choices with values: 5 and 8, the code would be:

    getField(123).setVal([5,8]);

Q: How to set the value of a slider control programmatically?

A: Please, read the answer in the plugin’s documentation:
Click Here

Q: How do I integrate forms with WooCommerce products?

Integrating the forms with WooCommerce products

Q: How to generate a PDF file dynamically with the submitted information?

A: There are multiple alternatives, by using the PDF generator add-on, the PrintFriendly add-on or the WebMerge add-on.

Reviews

April 5, 2025 1 reply
Ive searched all over for a form builder plugin to do what I need it to do and allow the customization that I require and calculated fields form plugin is the best! Plus, they have customer support who always has the answer I need and responds quickly! This is the best plug in I have ever used!!
Maret 2, 2025 1 reply
This plugin is powerful & does what is advertised. I needed a way to calculate a total on a form, and used this plugin to do it. I highly recommend it!!

bad

Januari 8, 2025 2 replies
There is an error that makes the whole website throw an error and make it unusable. I fixed it but it automatically returns to the previous code after several days for some reason and makes the error show again.
Read all 935 reviews

Contributors & Developers

“Calculated Fields Form” is open source software. The following people have contributed to this plugin.

Contributors

“Calculated Fields Form” has been translated into 6 locales. Thank you to the translators for their contributions.

Translate “Calculated Fields Form” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

5.3.46

  • Modifies the plugin interface by removing unnecessary sections. In the commercial plugin distributions, it unifies all payment methods—including those implemented via add-ons and complementary plugins—under the Payment Settings section.
  • Implements adjustments in form generation that ensure compatibility with browser Speculation.
  • Expands Stripe Checkout integration support to the Professional and Developer plugin distributions, in addition to the Platinum edition.

5.3.45

  • Revamped the AI Assistant module to utilize the WebMLL library, enabling completely free, in-browser inferencing.

5.3.44

  • Modifies the WordPress editor block.

5.3.43

  • Modifies the calculated fields: Now, when you check the currency option in the field settings, the plugin automatically enforces two decimal places for decimal results.
  • Adds a new, predefined form designed to evaluate password strength.

5.3.42

  • Modifies the DIV control to give more control over the styles that affect the contained fields.
  • Fixes a minor issue in the fields list popup to enhance the user experience.
  • Adds a new predefined form and category of predefined forms for AI. This new form implements a texts translator using an AI model for translating texts directly in the browser.