Cost Calculator Builder
Item PageVideo TutorialsChangelogResources Get Started
  • Cost Calculator Builder Documentation
  • Getting Started
    • Free Version and Pro Version
    • System Requirements
    • Plugin Installation
    • License Activation
      • Upgrading the License
    • Update Billing Details and Access Invoices
    • License Utilization
    • Update The Plugin
    • Templates
    • Feature Request
  • Plugin Features
    • How to Create a Calculator
    • How to Manage Calculators
    • How to Add a Calculator to the Page
    • Calculator Appearance
    • Additional Classes
  • Cost Calculator Settings
    • Calculator Settings
      • Summary Block
      • Currency
      • Warning Texts
      • Confirmation Page
      • Order Form
      • Form Manager
      • Sticky Calculator
      • Woo Products
      • Woo Checkout
      • Payments
      • Webhooks
    • Global Settings
      • Currency (Global)
      • PDF Entries
      • Share Quote Form
      • Order Form (Global)
      • Email Template
      • Backup Settings
      • AI Formula
      • Captcha
      • Payments (Global)
      • Geolocation
  • Calculator Elements
    • General Overview
    • Text
    • Quantity
    • Validated form
    • Dropdown list
    • Image Dropdown (Pro feature)
    • Radio Select
    • Image Radio (Pro feature)
    • Switch Toggle
    • Checkbox
    • Image Checkbox (Pro feature)
    • Date Picker (Pro feature)
    • Time Picker (Pro feature)
    • Basic Slider
    • Multi Range (Pro feature)
    • File Upload (Pro feature)
      • How to Allow Additional File Types in WordPress
      • How to Increase Maximum File Upload Size in WordPress
    • HTML
    • Geolocation (Pro feature)
    • Line
    • Formula
      • AI Assistant (Pro feature)
    • Repeater (Pro feature)
    • Group Field (Pro feature)
    • Page Breaker (Pro feature)
  • Conditional System
    • Introduction
    • How to Create a Condition
    • Condition Options
    • Condition Actions
    • AND/OR Conditions
    • Condition Creating Example
  • Special Plugin Features
    • Orders
    • Discounts
    • Required Fields
    • Contact Form 7 Plugin
  • Payments
    • Settings
    • PayPal
    • Stripe
    • Razorpay
    • Cash Payment
  • Translating Cost Calculator Into a Different Language
    • Translation Basics
    • Translating Static Strings
    • Translating Calculator with WPML
    • FAQ
  • Develeoper's guide
    • Cost Calculator Hooks
      • Order Management
      • Contact Form
      • Confirmation Page
      • Email
  • Troubleshooting
    • Introduction
    • Plugin Conflicts
    • Theme Compatibility
    • Calculator is not loading
    • Cache Settings
    • Email not sending
    • Debug Logs
    • Submit a Support Ticket
  • Changelog
    • Release Notes
    • Changelog (Free Version)
    • Changelog (Pro Version)
  • Pre-built Calculators & Cases
    • Service Booking
    • Graphic Design
    • Loan Interest
    • Delivery Service
    • Renovation Company
    • Dental Services
    • Car Wash Company
    • Medical Services
    • Tuition Fees
    • Printing Services
    • Car Rental
    • Venue Rental Service
  • Advanced Topics
    • License Management
  • Stylemixthemes
    • Cost Calculator Builder WordPress Plugin
    • Themes
    • Plugins
Powered by GitBook
On this page
  • Element Tab
  • Styles
  • Settings Tab
  • Add a measuring Unit
  • Example of Using Switch Toggle

Was this helpful?

  1. Calculator Elements

Switch Toggle

PreviousImage Radio (Pro feature)NextCheckbox

Last updated 25 days ago

Was this helpful?

The Switch Toggle element allows you to put a single-value radio button to turn on/off.

Element Tab

In the Element tab, the fundamental settings of the element can be configured. The Switch Toggle element has the following attributes in the Element tab:

  • Name - Title of the element.

  • Description - Description of the element.

  • Option Label - Add options for users to choose from.

  • Option Hint - Write any text to give a hint about the option. Along with the option, there will be displayed a tiny question icon. Users can check the hint by hovering it.

  • Add New - You can add as many options as you need.

  • Default Value - The default value field takes inputs after you add option values in Add Radio Options.

  • Type of Label in Total - Choose how to display the selected option of the field in the Summary.

    • Show Value - displays the numeric value of the option in the Summary.

Styles

The Styles tab is available in the Pro version of the plugin and there you can adjust the appearance of the field. The Switch Toggle contains the following attributes in the Styles tab:

  • Style - For toggle options, the "Default" and "Boxed with the description" views are available.

  • Box style - When the "Default" style is selected, the toggle options can be aligned with "Vertical" and "Horizontal" views.

  • Style preview - A preview of the selected style will be displayed.

  • Apply this toggle style to all toggle fields in this calculator - When the option is enabled selected style will be applied to all toggle elements in the calculator which is being edited.

Settings Tab

The Switch Toggle element has the following attributes in the Settings tab:

  • Currency Sign - Enable if you want to disable the currency symbol in the total summary.

  • Required - Defines whether the element will be required to fill or not.

  • Round Value - Enable if you do not want to round the value to the whole number in the total summary.

  • Show in Grand Total - Disable if you want to hide the element in Grand Total.

  • Allowed number of options to select - Ability to set the maximum number of available options to choose from.

  • Additional Classes - Add extra classes to the HTML elements to further style changes.

Add a measuring Unit

This setting allows you to add a measuring unit (Ω, cm, kg, inch, etc.) to the field.

  • Unit Symbol - enter the unit symbol

  • Position - select the position where the symbol should be displayed relative to the number

  • Thousands separator - select the symbol to

  • Number of decimals - indicate the number of decimals in the fractional part

  • Decimal separator - select the symbol to separate the fractional part

Example of Using Switch Toggle

Let’s see an example of the Switch Toggle in the School residential payment template. It will be used for users whether they want to have insurance or not.

That’s how it will look on the user’s page:

Option Value - Assign a numeric value for the option. This value can be used in calculations in .

Label Only(No calculation) - Displays the label of the options, and the value of the selected option will not be included in Calculations. It is useful when the field is used to create conditions.

Label Only(Calculation Value) - Displays the label of the options, and the value of the selected option will be included in Calculations.

Hidden by Default - The element will be hidden until a corresponding is met. If the element is hidden, its default value will be counted as '0' in the formula

Calculate hidden by default - If any case hides the element via the Hidden by Default setting or hidden by some , the element's default value (if it is set) will be counted in the formula.

Formula
Formula
Formula
condition
condition