WPMet Site Logo
  • Home
  • Plugins
    • ElementsKit
    • ShopEngine
    • GetGenie AI
    • MetForm
    • WP Social
    • WP Fundraising
    • Wp Ultimate Review
  • About
  • Blog
  • Support
  • Contact
  • My Account
WPMet Site Logo
Popular Search headermenumegafootermetform

Getting Started with MetForm

  • Getting Started
  • Form Input Field
  • Pro Input Field List
  • General Settings of MetForm
  • WooCommerce Checkout
  • Create Post with MetForm
  • Response Message
  • Entries
  • Creating Forms With MetForm

CRM Integrations

  • Zoho Integration
  • Zapier Integration
  • HubSpot Integration
  • Auth Integration
  • Slack Integration
  • FluentCRM Integration
  • Helpscout Integration
  • Twilio SMS Integration

Frequently Asked Questions

  • Support

Newsletter Integrations

  • Mailchimp Integration
  • ConvertKit Integration
  • ActiveCampaign Integration
  • AWeber Integration
  • GetResponse Integration
  • MailPoet Integration

Other Integrations

  • Google Sheet Integration
  • reCAPTCHA Integration
  • REST API Integration
  • Map Integration

Payment Gateways

  • PayPal Payment Gateway Set Up
  • Stripe Payment Set Up
  • Thank You Page

Pro Features

  • WooCommerce Checkout
  • Create Post with MetForm
  • Multi-Step Form (Pro)
  • Calculation (Pro)
  • Payment Method (Pro)
  • Conditional Logic (Pro)
  • Auto Populate Field
  • Quiz Form
  • A New Form Type- MetForm

Settings

  • Set up Notification Email
  • Set up CRM
  • Set up Confirmation Email
  • How to Create Form and Form Settings
  • Set up Payments

Form Templates

  • How to Create a Contact Form Using MetForm 
  • How to Create Newsletter Signup Form Using MetForm 
  • How to Create a Feedback Form using MetForm 
  • How to Create a Booking Form using MetForm
  • How to Create an Event Form using MetForm 
  • Home
  • Doc
  • Metform
  • Pro Features
  • Calculation (Pro)

Calculation (Pro)

Table of Contents
  • Get Started
  • How to create a calculated form in WordPress using MetForm
    • Step 1: Create a Form using MetForm
    • Step 2: Set up WordPress calculated fields form
    • Step 3: Set up Multiplication
    • Step 4: Perform Addition
    • Step 5: Add subtraction
    • Step 6: Add Division
    • Step 7: Show float value
    • Step 8: Show rounded value
    • Step 9: Show NumberFormat Value
    • Step 10: Show Floor value
    • Step 11: Show Ceil Value

With Metform, you can create a calculated form in WordPress for your Elementor page. MetForm’s input fields can be converted into WordPress calculated fields form.

Get Started #

Perform calculations on Form Fields to display automatic calculated value with MetForm. You can perform any kind of calculation on form field with MetForm.

Watch out the video guide

Or, follow the step by step process below to create a calculated form in WordPress:

How to create a calculated form in WordPress using MetForm #

Let’s have a look how you can use MetForm as your Elementor form calculator. You can turn MetForm’s input fileds to WordPress calculated fields form using the steps below:

Step 1: Create a Form using MetForm #

Search the Metform widget and drag it to the widget placement area.

calculated form in wordpress

Click on the red colored Edit button

calculated form in WordPress

Click on New=> Select the Blank form=> Provide Name

calculated form in wordpress

Step 2: Set up WordPress calculated fields form #

For example, the process of Calculation Between Packages & Quantity is shown here:

Set the Package 1 Value: 50

wordpress calculated fields form

Copy the Packages field Name

wordpress calculated fields form

Copy the Quantity field Name

wordpress calculated fields form

Step 3: Set up Multiplication #

Multiplication is when you take one number and add it together a number of times.

Search for Calculation Field=> Drag and Drop Under the Package Field

Edit Calculation=> Settings=> Provide the Expression

  • Paste the Packages Field Name and Quantity field name with operators: packages * qty

Site View

Select Package 1=> Set the Quantity Value: 1

  • Showing the price: $50

Now set the Quantity Value: 2

  • Showing the price: $100

Step 4: Perform Addition #

Addition is a process or action of adding something to something else.

  • Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • Provide Addition expression. For Ex : packages + qty

Site View

Select Package 1=> Set the Quantity Value: 3

Showing the addition price: $53

Step 5: Add subtraction #

It is the operation of removing objects from a collection signified by the minus sign.

  • Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • Provide Subtraction expression. For Ex : packages – qty

Site View

Select Package 1=> Set the Quantity Value: 3

Showing the Subtracted price: $47

Step 6: Add Division #

Perform Division: A number that divides another number either completely or with a remainder

  • 1. Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • 2: Provide Division expression. For Ex : packages / qty

Site View

1: Select Package 1=> Set the Quantity Value: 3

  • Showing the Divided price: $16.666666666666668

Step 7: Show float value #

A float is a number, that has a decimal place.

  • Edit Calculation=> Settings=>Paste the Packages Field Name and Quantity field name
  • Set the number after comma that you want to take after Decimal point.
  • Provide the Floating Point Expression. For Ex : float(packages / qty,2). Here you will get 2 decimal places as you have set value 2.

Site View

1: Select Package 1=> Set the Quantity Value: 3

  • Showing the floating price with 2 number of input after Decimal point : 16.67

Step 8: Show rounded value #

A number that keeping its value close to what it was.

  • 1: Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • 2: Provide round expression. For Ex : round(packages / qty)

Site View

1: Select Package 1=> Set the Quantity Value: 3

  • Showing the rounded price: 17

Step 9: Show NumberFormat Value #

NumberFormat allows you to show comma separated value.

  • 1: Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • 2: Provide NumberFormat Expression. For Ex : numberFormat(packages * qty)

Site View

1: Select Package 1=> Now set the Quantity Value : 100000

  • Showing the comma separated values : $5,000,000

Step 10: Show Floor value #

Floor values allows you to return the closest integer less than or equal to a given number.

  • Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • Provide Floor Expression. For Ex : floor(packages / qty)

Site View

1: Select Package 1=> Set the Quantity Value: 3

  • Showing the floor price: 16

Step 11: Show Ceil Value #

Show Ceil Value: Ceil values allows you to return the closest integer grater than or equal to a given number.

  • 1: Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • 2: Provide Ceil Expression. For Ex : ceil (packages / qty)

Site View

1: Select Package 1=> Set the Quantity Value: 3

  • Showing the Ceil price: 17
  • Here is All the Operation with Expression Example
OperationExpression
Multiplicationpackages * qty
Additionpackages + qty
Subtractionpackages – qty
Divisionpackages / qty
Floatfloat(packages / qty,2)
Roundround(packages / qty)
NumberFormat numberFormat(packages * qty)
Floorfloor(packages / qty)
Ceilceil (packages / qty)
  • Options Description
OptionsDescription
Show LabelTurn on/off Label.
PositionDefault: Top
Select the label position. where you want to see it. top or left of the input.
LabelType the label text.
NameName is must required. Enter a name without space or any special character. use only underscore/hyphen (_/-) for multiple words. The name must be different.
Help TextType the text to show below the widget.
PrefixYou can also provide operator in the expression before the operands.
Example : *+AB-CD (Infix : (A+B) * (C-D) )
RequiredDefault: No
Toggle this option to make it required. Users can’t submit the forms without filling the required fields.
Expression with operators and inputs You have to make calculation logic by name of input fields. Use name of input field and make calculation logic by it. For example mf-number_2 * mf-number_3. It will show calculated value 6 in the calculation field.
Conditional Logic Show/Hide this field based on certain criteria.

This is how you can create calculated form fields with MetForm in Elementor easily without any hassle. So, why delay? Create WordPress calculated fields form in Elementor with MetForm.

What are your Feelings
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on June 5, 2022
Multi-Step Form (Pro)Payment Method (Pro)
Table of Contents
  • Get Started
  • How to create a calculated form in WordPress using MetForm
    • Step 1: Create a Form using MetForm
    • Step 2: Set up WordPress calculated fields form
    • Step 3: Set up Multiplication
    • Step 4: Perform Addition
    • Step 5: Add subtraction
    • Step 6: Add Division
    • Step 7: Show float value
    • Step 8: Show rounded value
    • Step 9: Show NumberFormat Value
    • Step 10: Show Floor value
    • Step 11: Show Ceil Value

Get Subscribed Today!

WPMet Site Logo
© 2022, Wpmet. All Rights Reserved. Built with ElementsKit.

Company

About us
Contact us
Support
Blog
Collaborate
Documentation

Resources

Affiliates
Affiliate Area
Privacy Policy
Terms & Conditions
Refund Policy
Login/Register

Our Products

Elements Kit
ShopEngine
GetGenie Ai
Metform
WP Social
Wp Ultimate Review
Wp Fundraising

Follow Us

Payment systems accepted by Wpmet

Wpmet is not affiliated with or endorsed by Open Source Matters or the WordPress Project. The CMS logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Opt out!.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
Vendor/Partner
SAVE & ACCEPT