Top "Validation" questions

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

Min / Max Validator in Angular 2 Final

According to thoughtgram.io, the currently supported validators are: required minlength maxlength pattern So, considering the following code (plunkr here): @…

validation angular typescript angular2-forms
How to add a RequiredFieldValidator to DropDownList control?

I have a DropDownList binded with aSqlDataSource to display the values from the database. I am unable to validate using …

asp.net validation drop-down-menu requiredfieldvalidator
Laravel Password & Password_Confirmation Validation

I've been using this in order to edit the User Account Info: $this->validate($request, [ 'password' => 'min:6', …

laravel validation passwords
How do I Validate the File Type of a File Upload?

I am using <input type="file" id="fileUpload" runat="server"> to upload a file in an ASP.NET …

asp.net javascript validation file upload
HTML5 validation when the input type is not "submit"

I'm using HTML5 for validating fields. I'm submitting the form using JavaScript on a button click. But the HTML5 validation …

html forms validation html5-validation
How to validate a date?

I'm trying to test to make sure a date is valid in the sense that if someone enters 2/30/2011 then it …

javascript validation
How do I get the collection of Model State Errors in ASP.NET MVC?

How do I get the collection of errors in a view? I don't want to use the Html Helper Validation …

html asp.net-mvc validation spark-view-engine
How do I make a checkbox required on an ASP.NET form?

I've done some searching on this, and I've found several partial answers, however nothing that gives me that warm fuzzy "…

asp.net checkbox validation
Regular Expression Match to test for a valid year

Given a value I want to validate it to check if it is a valid year. My criteria is simple …

regex string validation string-matching
PHP: Best way to check if input is a valid number?

What is the best way of checking if input is numeric? 1- +111+ 5xf 0xf Those kind of numbers should not …

php input validation numeric