No results found. Try again with different words?
Search must be at least 3 characters.
- How to deliver a lead magnet through your confirmation page or thank you page? – Using Double Opt-in
- How to Create a Full screen popup in Convert Pro?
- How to Disable Call-to-actions for Subscribers?
- Introducing the Honeypot field in Convert Pro
- Disable cookies using Cookiebot plugin with Convert Pro for GDPR regulations
- How to create Multilingual call-to-action with WPML
- How to Display a YouTube Video in a Convert Pro Call-to-Action?
- Convert Pro Supports GDPR Regulations
- How to auto close call-to-action in Convert Pro
- How to Trigger Convert Pro Popup based on Page Visits?
- How to Show a Call-to-action to Users who have Subscribed through Particular Call-to-action?
- How to Show or Hide a Call-to-action only after a User has seen a specific Call-to-action in Convert Pro?
- How to Trigger a Popup when a particular Cookie is set?
- How Can I Create an Ad Block Detection Popup with Convert Pro?
- Schedule Your Call-to-action in Convert Pro
- Trigger a call-to-action when a Class or ID appear in Viewport
- How to Trigger a Call-to-action after few seconds?
- How to Trigger a Call-to-Action after a Blog Post?
- Troubleshooting Guide: Google Analytics Integration
- How to Setup Convert Pro custom Events in Google Analytics 4 property
- Authorize Convert Pro to view Google Analytics 4 data
- Display Call-to-Action Inside the Post/Page Content
- How to Add Dynamic Tag Support for the Autoresponder?
- How to Enable Form Field Validation?
- How to Change the Slug of Popup? – Convert Pro
- What is MX Record Validation For Email in advanced settings?
- Adding the Google reCaptcha form field in Convert Pro
- How to Set Cookie Name When a Particular Call-to-action is Submitted or Closed?
- How to display call-to-action based on URL parameter
- Introduction to Rules sets in Launch settings of Convert Pro
- How to Integrate an Elementor Form in a Convert Pro call-to-action?
- How to Create a Language Specific Popup in Convert Pro?
- How to A/B Test Two or More Call-to-Actions in Convert Pro?
- How to Add Custom CSS/HTML code/shortcode to a Call-to-action in Convert Pro?
- Understanding the Email Notification Settings in Convert Pro
- How to Setup Convert Pro Events in Google Tag Manager
- Google Analytics Integration with Convert Pro
- Shortcut Keys For Customizer Operations
- How to Set Cookie Name When a Particular Call-to-action is Submitted or Closed?
- How to deliver a lead magnet through your confirmation page or thank you page? – Using Double Opt-in
- How to Show or Hide a Call-to-action only after a User has seen a specific Call-to-action in Convert Pro?
- Where can I find the ID (style ID) of the call-to-action in Convert Pro?
- How to Trigger a Popup when a particular Cookie is set?
- Convert Pro Supports GDPR Regulations
- How to Disable Google Fonts in the Frontend?
- How to Track Users Depending on their Location or Country? (Geo Location or GeoIP Tracking)
- How to Offer Downloadable Files or Lead Magnets after Successful Form Submission?
- Convert Pro Email Notification Filters
- Filter to Add a New Custom Font
- How to Target Users based on the Device they use?
- How to Disable Google Fonts in the Frontend?
- How can I disable a Call-to-action on Mobile Devices?
- Show or Hide Call-to-action to Logged in and First time users
- Working with Referrer Detection in Convert Pro
- How to Display a Call-to-action when a Specific Product is Added to the Cart?
- Troubleshooting Guide: Google Analytics Integration
- How to Setup Convert Pro custom Events in Google Analytics 4 property
- Authorize Convert Pro to view Google Analytics 4 data
- How to Integrate Convert Pro with FluentCRM?
- How to Integrate Convert Pro with SendFox?
- How to Integrate MaxMind Geolocation in Convert Pro?
- How to Integrate Convert Pro with MailWizz?
- How to Integrate Convert Pro with Moosend?
- How to Integrate Convert Pro with SendGrid?
- Filter to Add a New Custom Font
- How to Pass Current Page URL as a Value to Hidden Field of the Form?
- How to White Label Convert Pro?
- How to Create a Language Specific Popup in Convert Pro?
- How to Clear Cache for Call-to-Actions in Convert Pro?
- How to Use the Advanced Script Addon in Convert Pro?
- How to Trigger a Call-to-action only on Woo-commerce order received page?
- How to Display a Call-to-action when a Specific Product is Added to the Cart?
- How to Add Custom Conditions to Display a Call-to-action?
How to Enable Form Field Validation?
Convert Pro introduces a new option for Form Field Validation, which will help the user to submit the form with correct information. [ Available from Convert Pro version 1.5.2 and above ]
Whenever the Name form field or Phone form field is added while designing the popup, a new option in the setting will appear to enable the validation.
Here two things will be available when enabled the option.
- Enter Regular Expression.
- Enter the Message Title.
Let’s get started with it:
# For Name Form Field:
Step 1 -> Drag and Drop the Name form field.
Step 2 -> Enable the Validation.
Note:
- By default, a regular expression is set for the Name form field, in that it will accept only the characters.
- A message title is set when the user enters invalid input which does not match the regular expression.
Regular Expression | Description |
[A-Za-z\s]+ | Accepts only the characters.[Default] |
[A-Za-z]+ | Accepts only the characters for single word input. Ex.: John |
^[^\x00-\x1f\x21-\x26\x28-\x2d\x2f-\x40\x5b-\x60\x7b-\xff]+$ | Matches common ASCII names without special characters. Ex.: Sir. Isaac Newton, Tom O’Leary, John Doe |
![Enable Form Field Validation](https://www.convertpro.net/wp-content/uploads/2020/09/fbb2-1024x480-2.png)
In case if the pattern is not matched the error message will be displayed as shown below:
![Screen Recording 2020-09-23 at 12.34.36.27 PM.gif](https://p219.p3.n0.cdn.getcloudapp.com/items/12uJG2wG/Screen%20Recording%202020-09-23%20at%2012.34.36.27%20PM.gif)
# For Phone Form Field:
Step 1 -> Drag and Drop the Phone form field.
Step 2 -> Enable the Validation.
Note:
- By default, a regular expression is set for the Phone form field, in that it will accept only the numbers.
- A message title is set when the user enters invalid input which does not match the regular expression.
Regular Expression | Description |
[0-9]{10} | Accepts only numbers.[Default] |
^(\+)[0-9]{12} | Accepts the phone number starting with ‘+’ with 12 number digits. Ex.: +123456789012 |
^[2-9]\d{2}-\d{3}-\d{4}$ | This expression matches a hyphen separated US phone number, of the form ANN-NNN-NNNN, where A is between 2 and 9 and N is between 0 and 9. Ex.: 800-555-5555 |
![](https://www.convertpro.net/wp-content/uploads/2020/09/fbb2-1024x480.png)
In case if the pattern is not matched the error message will be displayed as shown below:
![Screen Recording 2020-09-23 at 12.21.03.07 PM.gif](https://p219.p3.n0.cdn.getcloudapp.com/items/lluYBGxN/Screen%20Recording%202020-09-23%20at%2012.21.03.07%20PM.gif)
We don't respond to the article feedback, we use it to improve our support content.