This validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc.
returns false if the form element value does not match the one in the parameter. Added `depends` for conditional validation. You’re browsing the documentation for v2.x and earlier. returns false if the form element contains anything other than alpha-numeric characters. Let’s begin with a simple example.