[WordPress] 外掛分享: PVB Contact Form 7 Calculator

首頁外掛目錄 › PVB Contact Form 7 Calculator
WordPress 外掛 PVB Contact Form 7 Calculator 的封面圖片
600+
安裝啟用
★★★★★
5/5 分(10 則評價)
25 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.1.0 上架:2018-03-08

內容簡介

概述

使用PVB Contact Form 7 Calculator,您可以輕鬆將任何Contact Form 7 表單轉換為計算器。計算字段基於用戶輸入和表單中其他部分的選擇。該外掛可用於創建各種類型的計算器,例如理想體重計算器、卡路里計算器、酒店預訂報價計算器、汽車租賃報價計算器、抵押貸款計算器、稅收計算器、金融計算器、日期計算器等。

特點

高級計算 - 基於用戶輸入設置自定義公式,例如:
cost_per_day * days * (1 + (tax_percentage / 100))
隱藏計算字段 - 可以對用戶可見或不可見。您可以自行選擇!
服務器端計算 - 您不必洩露您的機密公式!計算在後台,通過服務器執行。
點擊按鈕進行計算 - 可以讓您的用戶觸發計算,而無需提交表單。
提交時計算 - 值始終在提交時計算,因此您可以在通知電子郵件中使用它們。
其他事件計算 - 您還可以從另一個腳本隨時觸發計算!
正確的浮點數學 - PVB Contact Form 7 Calculator Pro 正確處理十進制浮點數,不像許多在轉換為二進制和返回時引入舍入誤差的在線計算器,導致不正確的結果(例如 0.6 + 0.3 = 0.8999)。
多個計算字段(僅Pro版) - 可以在同一表單中擁有一樣多的計算器!
中間計算步驟(僅Pro版) - 計算字段可以基於其他計算字段。它們按順序從上到下進行評估。
將數值分配給文本字段(僅Pro版) - 例如,您可以為下拉菜單中的每個選項指定特定價格。
PayPal 和 Stripe 統合(僅Pro版) - 基於計算金額,從您的網站訪問者那裡接受付款。
貨幣轉換(僅Pro版) - 在您的公式中使用最新的貨幣匯率。
自定義 PHP 代碼(僅Pro版)- 計算器對您來說不夠高級?現在您可以在計算公式中運行任何 PHP 代碼。由於安全原因,此功能默認為禁用,您必須從“選項”頁面顯式啟用它。
參考外部試算表(僅Pro版)- 需要經常更新您的價格列表?計算器可以從各種格式的在線試算表中查找數據(Google Sheets、Excel、CSV 等)。
計算旅行距離和時間(僅Pro版)- 與 Google Maps API 整合允許您使用地址和位置。

示範

我們準備了示範,以讓您測試 PVB Contact Form 7 Calculator 的功能。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PVB Contact Form 7 Calculator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon