Top "Validation" questions

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

Best way to check if a Data Table has a null value in it

what is the best way to check if a Data Table has a null value in it ? Most of the …

c# .net validation datatable null
How can I check if some text exist or not in the page using Selenium?

I'm using Selenium WebDriver, how can I check if some text exist or not in the page? Maybe someone recommend …

validation selenium webdriver assert
No grammar constraints (DTD or XML schema) detected for the document

I have this dtd : http://fast-code.sourceforge.net/template.dtd But when I include in an xml I get the …

xml eclipse validation dtd
Better way to check variable for null or empty string?

Since PHP is a dynamic language what's the best way of checking to see if a provided field is empty? …

php validation
How to validate IP address in Python?

What's the best way to validate that an IP entered by the user is valid? It comes in as a …

python validation networking ip-address
ASP.NET Custom Validator Client side & Server Side validation not firing

This has not happened to me before, but for some reason both the client and server side validation events are …

c# .net asp.net validation customvalidator
jQuery Form Validation before Ajax submit

JavaScript bit: $(document).ready(function() { $('#form').submit(function(e) { e.preventDefault(); var $form = $(this); // check if the input is …

jquery ajax jquery-validate validation
How to check whether a given string is valid JSON in Java

How do I validate a JSON string in Java? Or could I parse it using regular expressions?

java json validation
How to validate numeric values which may contain dots or commas?

I need a regular expression for validation two or one numbers then , or . and again two or one numbers. So, …

regex validation numeric
How to use Scanner to accept only valid int as input

I'm trying to make a small program more robust and I need some help with that. Scanner kb = new Scanner(…

java validation java.util.scanner