| 开发者 | plugin999 |
|---|---|
| 更新时间 | 2026年8月26日 18:18 |
| PHP版本: | 5.5 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
"Label--value" syntax to set a visible label and a separate numeric value for each option, giving you full control over what users see vs. what gets calculated$, €, USD) to the left of the calculated resultkg, %, hrs) to the right of the calculated result1,000,000). or ,) for localised number formatting
[text text-1]
[text text-2]
Create Label And Price In Radio, Select, Checkbox
[select menu-1 default:1 "$20--20" "$40--40" "$60--60" "$80--80"]
[checkbox checkbox-1 default:1 "$20--20" "$40--40" "$60--60" "$80--80"]
[radio radio-1 default:1 "$20--20" "$40--40" "$60--60" "$80--80"]
Addition
[calculator calculator-1 "text-1 + text-2"]
Subtraction
[calculator calculator-2 "text-1 - text-2"]
Multiplication
[calculator calculator-3 "text-1 * text-2"]
Division
[calculator calculator-4 "text-1 / text-2"]
MOD Function
[calculator calculator-6 "MOD(text-1 , text-2)"]
AVERAGE Function
[calculator calculator-7 "AVERAGE(text-1 , text-2)"]
MIN Function
[calculator calculator-8 "MIN(text-1 , text-2)"]
MAX Function
[calculator calculator-9 "MAX(text-1 , text-2)"]
RANDOM Function
[calculator calculator-10 "RANDOM(text-1 , text-2)"]
POW Function
[calculator calculator-11 "POW(text-1 , text-2)"]
CEIL Function
[calculator calculator-12 "CEIL(text-1)"]
ROUND Function
[calculator calculator-13 "ROUND(text-1)"]
FLOOR Function
[calculator calculator-14 "FLOOR(text-1)"]
SIN Function
[calculator calculator-15 "SIN(text-1)"]
COS Function
[calculator calculator-16 "COS(text-1)"]
ABS Function
[calculator calculator-17 "ABS(text-1)"]
SQRT Function
[calculator calculator-18 "SQRT(text-1)"]
Date Calculation
[date date-1]
[date date-2]
Calculate Days
[calculator calculator-19 "DAYS(date-1 , date-2)"]
Calculate Months
[calculator calculator-20 "MONTHS(date-1 , date-2)"]
Calculate Years
[calculator calculator-21 "YEARS(date-1 , date-2)"]
Hide A Calculated Field
[calculator calculator-22 hide_field "text-1 + text-2"]
Add A Left Prefix (Pro)
[calculator calculator-22 prefix_left:$ "text-1 + text-2"]
Add A Right Prefix (Pro)
[calculator calculator-22 prefix_right:$ "text-1 + text-2"]
Add A Thousand Separator (Pro)
[calculator calculator-22 thousand_sep:comma "text-1 + text-2"]
Set Decimal Places (Pro)
[calculator calculator-22 decimal_number:2 "text-1 + text-2"]
Set A Decimal Separator (Pro)
[calculator calculator-22 decimal_sep:. "text-1 + text-2"]
Building a cost calculator, quote form, or price estimator in Contact Form 7 has never been easier.
Click the calculator tag generator inside the Contact Form 7 form editor, then enter a formula referencing any of your existing field names. Example formulas are shown directly below the formula field for reference.
Yes. You can chain as many fields and operators as needed inside a single calculator formula, including nested parentheses and the built-in math functions.
Yes. You can calculate the number of days, months, or years between two date fields using the DAYS, MONTHS, and YEARS functions.
No. All calculations run instantly in the browser without a page reload.