Linux 软件免费装
Banner图

PVB Contact Form 7 Calculator

开发者 pbosakov
更新时间 2026年5月20日 21:18
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv3 or later

标签

calculator Contact Form 7

下载

1.0.13 1.0.14 1.1.0

详情介绍:

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 Video tutorial https://www.youtube.com/watch?v=1A2e60_DcZ4

安装:

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.

屏幕截图:

  • Booking calculator
  • Ideal weight calculator

常见问题:

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: ```javascript 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.

更新日志:

1.1.0 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0