Top "Validation" questions

Validation is used to check data to make sure it fits whatever required specifications are set for it.

How to validate an email address in JavaScript

Is there a regular expression to validate an email address in JavaScript?

javascript regex validation email email-validation
How to allow only numeric (0-9) in HTML inputbox using jQuery?

I am creating a web page where I have an input text field in which I want to allow only …

jquery html validation numeric
Validate decimal numbers in JavaScript - IsNumeric()

What's the cleanest, most effective way to validate decimal numbers in JavaScript? Bonus points for: Clarity. Solution should be clean …

javascript validation numbers
How to validate an email address using a regular expression?

Over the years I have slowly developed a regular expression that validates MOST email addresses correctly, assuming they don't use …

regex validation email email-validation string-parsing
Check if inputs are empty using jQuery

I have a form that I would like all fields to be filled in. If a field is clicked into …

jquery validation
A potentially dangerous Request.Form value was detected from the client

Every time a user posts something containing < or > in a page in my web application, I get this …

asp.net asp.net-mvc validation html-encode request.form
How to validate phone numbers using regex

I'm trying to put together a comprehensive regex to validate phone numbers. Ideally it would handle international formats, but it …

regex validation phone-number
How can I check if a single character appears in a string?

In Java is there a way to check the condition: "Does this single character appear at all in string x" …

java validation string character
Email validation using jQuery

I'm new to jQuery and was wondering how to use it to validate email addresses.

jquery validation email
(Built-in) way in JavaScript to check if a string is a valid number

I'm hoping there's something in the same conceptual space as the old VB6 IsNumeric() function?

javascript validation numeric