Top "Validation" questions

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

Validating parameters to a Bash script

I came up with a basic one to help automate the process of removing a number of folders as they …

validation bash shell
How to check if bootstrap modal is open, so i can use jquery validate

i need to make a validation only if a modal is open, because if i open it, and then i …

jquery validation twitter-bootstrap modal-dialog
PHP validation/regex for URL

I've been looking for a simple regex for URLs, does anybody have one handy that works well? I didn't find …

php regex url validation
Cross field validation with Hibernate Validator (JSR 303)

Is there an implementation of (or third-party implementation for) cross field validation in Hibernate Validator 4.x? If not, what is …

validation hibernate-validator bean-validation
Date validation with ASP.NET validator

I'm trying to use an ASP.NET RangeValidator to validate a date on a textbox. The format of the date …

asp.net validation
How can I conditionally require form inputs with AngularJS?

Suppose we're building an address book application (contrived example) with AngularJS. We have a form for contacts that has inputs …

forms validation angularjs
Validation error: "No validator could be found for type: java.lang.Integer"

I am working on a project with Spring why do I keep getting the following error? javax.validation.UnexpectedTypeException: No …

java hibernate validation spring-mvc
Regex pattern to match at least 1 number and 1 character in a string

I have a regex /^([a-zA-Z0-9]+)$/ this just allows only alphanumerics but also if I insert only number(s) or …

javascript regex validation
Is div inside list allowed?

I know that DIV inside LI isn't allowed, but I've seen it lately on many "big" websites like Smashing Magazine, …

html validation xhtml html-lists
Validating URL in Java

I wanted to know if there is any standard APIs in Java to validate a given URL? I want to …

java validation url