[Plugin: Visual Form Builder] Digit validation


Our problem is related to visual form builder plugin. User wants to know that Is there any way to organise a specified number or characters used to validate the number field when specifying to validate digits?
He wants to use just only “Number” field to get ZIP codes validation for digits. But the “Number” field have no limit for number of characters to check against them. It will validate everything as as long as it is a digit or number.
Would that be a rule he writes in the my-js.js file? If so how?
Every problem has a solution. So for solution look forward.

Solution :

jQuery(document).ready(function($) {
dateFormat: 'mm-dd-yy',
numberOfMonths: 1,
changeMonth: true,
changeYear: true,
yearRange: "c-90:c+1"

rules: {
'vfb-zip-code-95': {
required: true,
minlength: 5,
maxlength: 5

In wordpress, many problems arises but they all have solutions. Every programmer has its own logic and way of understand things. But we are going to give you precise and accurate solutions for your problem.

Leave a Reply

Your email address will not be published.