Skip to content
Support center
  • Home
  • Support Center
  • Docs
  • Changelog

General

  • Support
  • Plugin Bundled with Themes
  • How to Revoke Product License Key
  • How to purchase ElementsKit and Metform Pro License

Elements Kit

  • Widget Builder
  • Header Footer Builder
  • Mega Menu Builder
  • Vertical Mega Menu
  • One Page Scroll
  • Parallax Effects
  • Sticky Content Module
  • Instagram Feed API
  • Facebook Feed API
  • Facebook Messenger
  • Twitter Feed API
  • Advanced Accordion
  • Advanced Tab
  • Timeline
  • Advanced Chart
  • Data Table
  • Creative Button
  • Motion Text
  • Hotspot
  • Gallery
  • Woocommerce Product List
  • Woocommerce Category List
  • Woocommerce Mini Cart
  • Woocommerce Product Carousel
  • Heading Title
  • Button
  • Team
  • Accordion
  • Tab
  • Social Media
  • Client Logo
  • Mailchimp
  • FAQ
  • Image
  • FunFact
  • Countdown Timer
  • Image Box
  • Image Accordion
  • Icon Box
  • Pie-Chart
  • Progress Bar
  • Pricing Table
  • Testimonial
  • Header Info
  • Video
  • Image Comparison
  • Post Tab
  • Post List
  • Page List
  • Header Off-canvas
  • Dropcaps
  • Duel Button
  • Business Hours
  • Social Share
  • Category List
  • Search
  • Post Grid
  • Nav Menu
  • Contact Form 7
  • Caldera Form
  • We Forms
  • Wp Forms
  • Ninja Forms
  • Tablepress
  • Unfold
  • Advanced Toggle

MetForm

  • Getting Started
  • Form Input Field
  • Pro Input Field List
  • Pro Feature- Multi-Step Form
  • Pro Feature- Calculation
  • Pro Feature- Payment Method
  • Pro Feature- Conditional Logic
  • General
  • Confirmation
  • Notification Email
  • Integration
  • Payment
  • CRM
  • Auth
  • reCAPTCHA Integration
  • PayPal Payment Set Up
  • Stripe Payment Set Up
  • Thank You Page
  • Mailchimp Integration
  • AWeber Integration
  • ActiveCampaign
  • GetResponse Integration
  • ConvertKit Integration
  • Hubspot
  • Zoho
  • MailPoet Integration
  • Slack Integration
  • Support
  • WooCommerce Checkout
  • Create Post with MetForm
  • Response Message

WP Social

  • GETTING STARTED WITH WP SOCIAL
  • WP SOCIAL FACEBOOK LOGIN
  • WP SOCIAL GOOGLE LOGIN APP
  • WP SOCIAL LINKEDIN LOGIN APP
  • WP SOCIAL TWITTER APP
  • WP SOCIAL WORDPRESS APP
  • WP SOCIAL GITHUB APP
  • WP SOCIAL REDDIT APP
  • WP SOCIAL DRIBBBLE APP
  • WP SOCIAL COMMENT COUNT
  • WP SOCIAL POST COUNT

WP Ultimate Review

  • Settings

WP Fundraising Donation

  • Getting Started with WP Fundraising
  • WP Fundraising With Crowdfunding
  • WP fundraising with Single Donation Campaign
  • Others Way to Add Campaign
  • WP Fundraising With Default Payments
  • WP Fundraising with Woocommerce
  • Short-Code
  • Do-Action
  • Home
  • Docs
  • MetForm
  • Pro Feature- Calculation

Pro Feature- Calculation

Table of Contents
  • Get Started
  • Step-> 1
  • Step-> 2
  • Step-> 3
  • Step-> 4
  • Step-> 5
  • Step-> 6
  • Step-> 7
  • Step-> 8
  • Step-> 9
  • Step-> 10
  • Step-> 11

Get Started #

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

Watch out the video guide

Or, follow the step by step process below:

Step-> 1 #

Form Creation

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

2: Click on the red colored Edit button

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

Step-> 2 #

Calculation Between Packages & Quantity

1: Set the Package 1 Value: 50

2: Copy the Packages field Name

3: Copy the Quantity field Name

Step-> 3 #

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

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

2: Edit Calculation=> Settings=> Provide the Expression

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

Site View

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

  • Showing the price: $50

2: 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.

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

Site View

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

  • Showing the addition price: $53

Step-> 5 #

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

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

Site View

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

  • Showing the Subtracted price: $47

Step-> 6 #

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.

  • 1: Edit Calculation=> Settings=>Paste the Packages Field Name and Quantity field name
  • 2: Set the number after comma that you want to take after Decimal point.
  • 3: 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 Round 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.

  • 1: Edit Calculation=> Settings=> Paste the Packages Field Name and Quantity field name
  • 2: 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: 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.
What are your Feelings
Share This Article :
Updated on January 11, 2021
Pro Feature- Conditional Logic Response Message
Table of Contents
  • Get Started
  • Step-> 1
  • Step-> 2
  • Step-> 3
  • Step-> 4
  • Step-> 5
  • Step-> 6
  • Step-> 7
  • Step-> 8
  • Step-> 9
  • Step-> 10
  • Step-> 11
Copyright © 2021 Wpmet