Top "Validation" questions

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

Set Value of Input Using Javascript Function

I'm currently using a YUI gadget. I also do have a Javascript function to validate the output that comes from …

javascript input yui validation
Number input type that takes only integers?

I'm using the jQuery Tools Validator which implements HTML5 validations through jQuery. It's been working great so far except for …

jquery html validation jquery-tools
A simple jQuery form validation script

I made a simple validation form using jQuery. It's working alright. The thing is I'm not satisfied with my code. …

jquery validation
Asking the user for input until they give a valid response

I am writing a program that accepts an input from the user. #note: Python 2.7 users should use `raw_input`, the …

python validation loops python-3.x user-input
HTML5 form required attribute. Set custom validation message?

I've got the following HTML5 form: http://jsfiddle.net/nfgfP/ Currently when I hit enter when they're both blank, a …

javascript html forms validation
An invalid form control with name='' is not focusable

In Google Chrome some customers are not able to proceed to my payment page. When trying to submit a form …

html validation
jQuery: what is the best way to restrict "number"-only input for textboxes? (allow decimal points)

What is the best way to restrict "number"-only input for textboxes? I am looking for something that allows decimal …

jquery validation isnumeric
JavaScript file upload size validation

Is there any way to check file size before uploading it using JavaScript?

javascript validation file-upload
Which characters make a URL invalid?

Which characters make a URL invalid? Are these valid URLs? example.com/file[/].html http://example.com/file[/].html

validation url rfc3986
Regex Email validation

I use this @"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$" regexp to validate the email ([\w\.\-]+) - this is for the …

c# regex validation