DWZ validation Form rules at a glance

Source: Internet
Author: User

<formonsubmit= "return Validatecallback (This)"class= "Pageform"Action= "ajaxdone.html"Method= "POST">Real name:
<inputtype= "text"class= "Required TextInput"maxlength= " the"size= "+"name= "Name">(Required verification) e-mail:
<inputtype= "text"alt= "Please enter your email"class= "required email textInput"size= "+"name= "Email"ID= "email_2871">(email verification) Phone:</label>
<inputtype= "text"alt= "Please enter your phone"class= "Phone TextInput"size= "+"name= "Phone"ID= "phone_8171">Password:</label>
<inputtype= "Password"alt= "Letters, numbers, underscores"class= "Required alphanumeric textInput"size= "+"name= "Password">(Required, letters, numbers, underline verification) Age:</label>
<inputtype= "text"alt=""class= "Required TextInput"size= "+"name= "Age"Max= "+"min= "5">(Required, maximum and minimum validation)

<Buttontype= "Submit">Submit</Button> </form>
    • Email: "Please enter the correct format of e-mail",
    • URL: "Please enter a valid URL",
    • Date: "Please enter a valid date",
    • Dateiso: "Please enter a valid date (ISO).",
    • Number: "Please enter a valid digit",
    • Digits: "Can only enter integers",
    • CreditCard: "Please enter a valid credit card number",
    • Equalto: "Please enter the same value again",
    • Accept: "Please enter a string with a valid suffix name",
    • MaxLength: $.validator.format ("string with a maximum length of {0}"),
    • MinLength: $.validator.format ("string with a minimum length of {0}"),
    • Rangelength: $.validator.format ("string length between {0} and {1}"),
    • Range: $.validator.format ("Please enter a value between {0} and {1}"),
    • Max: $.validator.format ("Please enter a value up to {0}"),
    • Min: $.validator.format ("Please enter a value of {0} minimum"),
    • Alphanumeric: "Letters, numbers, underscores",
    • Lettersonly: "must be a letter",
    • Phone: "Numbers, spaces, brackets"

DWZ validation Form rules at a glance

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.