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
  • Form Validation: Building the trust with Accurate Data
  • Validation Types for Common Fields

Was this helpful?

  1. Calculator Elements

Validated form

This page explain how validated form works in action

PreviousQuantityNextDropdown list

Last updated 1 year ago

Was this helpful?

Form Validation: Building the trust with Accurate Data

When it comes to your cost calculator, precise information from users is key to generating dependable estimates. The Cost Calculator Builder offers a helpful feature called form validation. It allows you to set guidelines for how users enter their information. This ensures they provide data in the right format, preventing errors and keeping your calculations on point. Let's explore the different validation options available for common fields like name, email, website URL, and phone number. By using these tools, you can build a cost calculator that not only delivers reliable estimates but also fosters user confidence by ensuring a smooth experience.

Validation Types for Common Fields

The Cost Calculator Builder offers a range of validation options to suit different field types. Here's how you can leverage them for some commonly used form fields:

Name Field Validation

For the Name field, users are supposed to consider using a text input with validation to ensure only alphabetical characters are entered.

This regular expression allows spaces between names, accommodating both first names or last names entered together. Make sure to include instructional text for users, such as "Please enter your full name using only letters."

To integrate the validated form into your webpage, simply use the drag-and-drop feature to move the form element to the desired location.

After you add the new element, ensure you customize fields like description, placeholder, etc., according to your needs.

Before reviewing the front-end appearance for the users, ensure your work is saved.

Email Field Validation

To ensure inputs are valid email addresses, the Email field uses a built-in validation type. This validation requires the presence of a @ symbol and a domain, following standard email format rules. By incorporating this simple yet effective method, it increases the accuracy of information provided by users.

To add the validated form to your webpage, just drag and drop the form element into the location where you want it.

Just like the Name field validation, Email field should also incorporate similar explanations. This ensures users can easily understand what is required, enhancing form completion rates.

Website Field Validation

Validating a Website URL requires checking for a valid internet address. Fortunately, like with email validation, you can use a type specific for URLs which automatically checks for a proper format. For instance, specifying the input type as URL ensures users enter a valid web address: This approach helps filter out incorrect URL entries, guiding users to provide their website information correctly.

When filling out information, please ensure that you include all necessary details. In the settings tab, be mindful to check or uncheck the relevant fields based on whether they are mandatory or optional. Remember, not every user may have a website URL, so adjust settings accordingly.

Phone Number Field Validation

Validating a phone number, including its country code, is essential to ensure its correct format. Utilizing phone number validation tools that check for proper format and country codes can significantly reduce incorrect entries. By setting the input type to include the country code, you encourage users to enter valid phone number information right from the start, streamlining the data collection process. This approach not only filters out invalid phone numbers but also guides users in providing accurate information.

Like above, when filling out information, please ensure that you include all necessary details. Including placeholder, name and description of the Phone Number Element

Example Integration

Here's an example of how you might integrate the "Validation Element" section and how it looks like to front-end users after saving your work:

Building the Form:

The plugin offers a drag-and-drop interface to add various form fields. When adding a field don't forget to consider using the validation options to ensure users provide accurate data. You can mark specific fields as required and set validation rules like data types or range limits.

Adding Name Element to the Calculator
Customizing fields
Adding Email Field
Filling infromation in Email element
Adding Website Field
Adding information to the Website Element
Checking whether or not "Required" field is mandatory
Adding Phone Number Element
Adding some info to Number Element
Validation Element on the Front End
Validation Element in Action