Title: PVB Contact Form 7 Calculator
Author: pbosakov
Published: <strong>9 Tháng 3, 2018</strong>
Last modified: 20 Tháng 5, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/pvb-contact-form-7-calculator/assets/banner-772x250.png?rev
=1837175)

![](https://ps.w.org/pvb-contact-form-7-calculator/assets/icon-256x256.png?rev=1837175)

# PVB Contact Form 7 Calculator

 Bởi [pbosakov](https://profiles.wordpress.org/pbosakov/)

[Tải về](https://downloads.wordpress.org/plugin/pvb-contact-form-7-calculator.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/pvb-contact-form-7-calculator/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/pvb-contact-form-7-calculator/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/pvb-contact-form-7-calculator/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/pvb-contact-form-7-calculator/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/)

## Mô tả

#### Overview

With PVB Contact Form 7 Calculator, you can easily turn any Contact Form 7 form 
into a calculator. Calculated fields are based on user input and selections in other
parts of the form. The plugin can be used for creating various types of calculators,
such as an ideal weight calculator, calorie calculator, quote calculator for hotel
booking, car rental quote calculator, mortgage calculator, tax calculator, finance
calculators, date calculator, etc.

#### Features

 * **Advanced calculations** – set your custom formula based on user input, for 
   example:
    cost_per_day * days * (1 + (tax_percentage / 100))
 * **Hide calculated fields** – they can be visible to the user or not. Your choice!
 * **Server-side calculation** – you don’t have to disclose your top secret formula!
   Calculations are performed behind the scenes, on the server.
 * **Calculate on button click** – you can let your users trigger the calculations
   without submitting the form.
 * **Calculate on submit** – values are always calculated on submit, so you can 
   use them in your notification emails.
 * **Calculate on other events** – you can also trigger calculations from another
   script at any time!
 * **Correct floating-point math** – PVB Contact Form 7 Calculator handles decimal
   floating-point math properly, unlike many online calculators that introduce rounding
   errors when converting to binary and back, yielding incorrect results (such as
   0.6 + 0.3 = 0.8999).

#### Video tutorial

## Ảnh màn hình

[⌊Loan calculator⌉⌊Loan calculator⌉[

Loan calculator

[⌊Booking calculator⌉⌊Booking calculator⌉[

Booking calculator

[⌊Ideal weight calculator⌉⌊Ideal weight calculator⌉[

Ideal weight calculator

## Cài đặt

[Contact Form 7](https://wordpress.org/plugins/contact-form-7/) 5.0 or later is 
required.

 1. Download the plugin zip file to your computer;
 2. Unzip the file;
 3. Upload the pvb-contact-form-7-calculator directory to your /wp-content/plugins/
    directory.
 4. Activate the plugin from the “Plugins” menu in WordPress.
 5. Refer to the [plugin documentation](http://bossakov.eu/documentation/pvb-cf7-calculator-free-1.1.0.htm).

## Hỏi đáp

### Can I use PVB Contact Form 7 Calculator for currency conversion?

You can use the “wpcf7calculate” jQuery event to trigger currency conversion or 
other post-processing operations after a calculation. You can code your own Javascript
function and place it somewhere on your website to call a third-party currency conversion
API. Here is an example:

    ```
    jQuery(function($) {
          $('form').on('wpcf7calculate', function() { 
            var dollars = jQuery('input[name=total]').val();
            var euro = currencyConvert(dollars, 'USD', 'EUR');
            if (euro === false) {
                alert('Currency conversion failed');
            } else {
                alert(dollars + ' dollars = ' + euro.toFixed(2) + ' euro');
            }
            return;
        });
    });

    function currencyConvert(amount, from, to) {
        var result = '';
        var convertUrl = "https://free.currencyconverterapi.com/api/v3/convert?q=" + from + "_" + to + "&compact=ultra";
        var rate = false;
        jQuery.ajax({
            url: convertUrl,
            async: false,
            type: "GET",
            dataType: "json",
            success: function (data) {
                rate = data[from + "_" + to];
            }
        });
        return rate ? parseFloat(amount) * parseFloat(rate) : false;
    }
    ```

### How does the calculator handle multiple checkbox groups?

If more than one checkbox is selected in the same group, the values will be summed.
To avoid the possibility to select more than one checkbox at the same time, use 
the “exclusive” modifier in the checkbox tag, or use radio buttons instead. More
information and examples are available in the [plugin documentation](http://bossakov.eu/documentation/pvb-cf7-calculator-free-1.1.0.htm).

## Đánh giá

![](https://secure.gravatar.com/avatar/2992ddb46e62a90d79f939b4eacb3b3a0900d440ccd73784ea7683c14ad54cca?
s=60&d=retro&r=g)

### 󠀁[The undisputed KING of calculations](https://wordpress.org/support/topic/the-undisputed-king-of-calculations/)󠁿

 [beastech](https://profiles.wordpress.org/beastech/) 23 Tháng 10, 2023

This plugin turned Contact Form 7 from useful to powerful. Thanks go out to Petko
for the brilliant support as well. The support for PVB Contact Form 7 Calculator
Add-on is incredible. I can't thank you enough Petko for all of the help!

![](https://secure.gravatar.com/avatar/37ae52d75791b4f38f808a5ba9d05c58e679367145ef69800a0436acf0949f10?
s=60&d=retro&r=g)

### 󠀁[Very simple and furiously efficient](https://wordpress.org/support/topic/very-simple-and-furiously-efficient/)󠁿

 [Vinzou](https://profiles.wordpress.org/vinzou/) 20 Tháng 3, 2021

Don't download another one, this is the best simple/efficient one. Now just two 
words : Thank You. (no problem with the latest version of WP)

![](https://secure.gravatar.com/avatar/23db04f219050c743dc95436ff3266e0747557a1298d0da6f9c3eec275f1289b?
s=60&d=retro&r=g)

### 󠀁[Wery usability plugin](https://wordpress.org/support/topic/wery-usability-plugin/)󠁿

 [Mateusz](https://profiles.wordpress.org/enet2020/) 28 Tháng 8, 2020

Hi, I use this plugin for a mont. I'm really amazing usefulness the function. Wery
usability plugin. Thanks for PVB Calculator. Regards Mateusz

![](https://secure.gravatar.com/avatar/c7bbae928f988179c05fa38275a7729e8c022db99669f94c0decb73cfe552436?
s=60&d=retro&r=g)

### 󠀁[A very useful plugin, I recommend!](https://wordpress.org/support/topic/a-very-useful-plugin-i-recommend/)󠁿

 [sylvain68](https://profiles.wordpress.org/sylvain68/) 1 Tháng 5, 2020

I use this add-on for Contact Form 7 in order to calculate fields of online sales
certificate and it works very well. If you want advanced features (multiple calculated
fields, intermediate variables…), then you will need the PRO version. But the investment
is well worth the cost 😉

![](https://secure.gravatar.com/avatar/f9ad2e8f36100d53825c7ceb06018b7c04cdae1e98d9a1eddb8f3ab6a494e2c4?
s=60&d=retro&r=g)

### 󠀁[One of the best plugins i have ever used!](https://wordpress.org/support/topic/one-of-the-best-plugins-i-have-ever-used-4/)󠁿

 [kerkeni](https://profiles.wordpress.org/kerkeni/) 19 Tháng 2, 2020

I am very happy with this great plugin. I purchased the pro version and Petko helped
me a lot with his quick responsiveness, creative mindset, amazing cooperation by
explaining some functionalities. All in all I would recommend @pbosakov for this
excellent plugin!

![](https://secure.gravatar.com/avatar/45c05cdc0dbd92b0eccc29aa61b7d934a932f543685821faa29800a58eee83a2?
s=60&d=retro&r=g)

### 󠀁[Excellent plugin](https://wordpress.org/support/topic/excellent-plugin-5473/)󠁿

 [areinheimer](https://profiles.wordpress.org/areinheimer/) 13 Tháng 1, 2020

The plugin is easy to use and the pro version allows you to make multiple calculated
tags. It is a great addition to Contact Form 7. I'm using the pro version to calculate
payment information for the customer along with the integrated Stripe checkout. 
Although the email and attached files are sent before checkout, there are separate
redirect pages where the customer may be sent after successful or unsuccessful payment.

 [ Đọc tất cả 10 đánh giá ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/)

## Người đóng góp & Lập trình viên

“PVB Contact Form 7 Calculator” là mã nguồn mở. Những người sau đã đóng góp vào 
plugin này.

Những người đóng góp

 *   [ pbosakov ](https://profiles.wordpress.org/pbosakov/)

“PVB Contact Form 7 Calculator” đã được dịch qua 3 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/pvb-contact-form-7-calculator/contributors)
vì đóng góp của họ.

[Dịch “PVB Contact Form 7 Calculator” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/pvb-contact-form-7-calculator)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/pvb-contact-form-7-calculator/),
check out [SVN repository](https://plugins.svn.wordpress.org/pvb-contact-form-7-calculator/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/pvb-contact-form-7-calculator/)
qua [RSS](https://plugins.trac.wordpress.org/log/pvb-contact-form-7-calculator/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.1.0

 * Phased out Pro version and removed promotional notices
 * Added support for WordPress plugin dependency management
 * Tested for compatibility with WordPress 7.0

#### 1.0.14

 * Updated translation loading timing to match WordPress best practices

#### 1.0.13

 * Updated text domain for translations
 * Various security fixes and improvements

#### 1.0.12

 * Updated dependencies
 * Tested for compatibility with WordPress 6.7

#### 1.0.11

 * Fix: PHP 8 fatal error
 * Fix: Calculate button shortcode issues
 * Code formatting and documentation updates
 * Tested for compatibility with WordPress 6.3

#### 1.0.10

 * Fix: error when adding negative numbers
 * Fix: calculation field names with uppercase letters do not work properly
 * Fix: WordPress warning related to add_submenu_page function parameters
 * Fix: Calculate button not working with some themes

#### 1.0.9

 * Fix: fatal error when attempting to activate both free and premium versions of
   the plugin at the same time

#### 1.0.8

 * Fix: division bug

#### 1.0.7

 * Fix: multiple guidelines and security fixes

#### 1.0.6

 * Update: better user control over admin notifications

#### 1.0.5

 * Fix: incorrect handling of non-integer exponents

#### 1.0.4

 * Fix: avoid interfering with CF7 style sheets

#### 1.0.3

 * Fix: cf7-hide option not working with some themes

#### 1.0.2

 * Fix: rounding results to a whole number not working

#### 1.0.1

 * Fix: groups of multiple checkboxes not supported

#### 1.0.0

 * initial release

## Meta

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **6 tháng trước**
 *  Số lượt cài đặt **600+**
 *  Phiên bản WordPress ** 6.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [Dutch](https://nl.wordpress.org/plugins/pvb-contact-form-7-calculator/), [English (US)](https://wordpress.org/plugins/pvb-contact-form-7-calculator/),
   [German](https://de.wordpress.org/plugins/pvb-contact-form-7-calculator/), và
   [Russian](https://ru.wordpress.org/plugins/pvb-contact-form-7-calculator/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/pvb-contact-form-7-calculator)
 * Thẻ
 * [calculator](https://vi.wordpress.org/plugins/tags/calculator/)[contact form 7](https://vi.wordpress.org/plugins/tags/contact-form-7/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/pvb-contact-form-7-calculator/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/reviews/)

## Những người đóng góp

 *   [ pbosakov ](https://profiles.wordpress.org/pbosakov/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/pvb-contact-form-7-calculator/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LZBNZ48HNTY2A)