Showing posts with label validation. Show all posts
Showing posts with label validation. Show all posts

Monday, June 4, 2012

Validate email address in Javascript?


How can an email address be validated in Javascript?



Though this solution may be simple, I'm sure this is one of those useful things that people will be Googling for and deserves its own entry on the site

Monday, May 21, 2012

Opengraph validation for HTML5


Is there any way to get facebook's crappy open graph meta tags to validate if my doctype is <!DOCTYPE html> (HTML5)?

Validate url parameters in php


I have rules in my .htaccess for pages, show property id etc...

Sunday, May 20, 2012

jQuery Validation plugin in ASP.NET Web Forms


I would really like use the jQuery Validation plugin in my ASP.NET Web Forms application (not MVC). I find it easier than adding asp validators everywhere and setting the control to validate field on all of them.

Thursday, May 17, 2012

What"s the best way to validate an XML file against an XSD file?


I'm generating xml files that need to conform to an xsd that was given to me. What's the best way to do this?

Wednesday, May 9, 2012

Validating URL in Java


I wanted to know if there is any standard APIs in Java to validate a given URL? I want to check both if the URL string is right i.e. the given protocol is valid and then to check if a connection can be established.

Friday, May 4, 2012

OOP Design Question - Where/When do you Validate properties?


I have read a few books on OOP DDD/PoEAA/Gang of Four and none of them seem to cover the topic of validation - it seems to be always assumed that data is valid.

Tuesday, May 1, 2012

jquery validation against dynamic fields


I'm using jQuery's validation plugin and looking to validate many dynamically added text fields such that their summation is checked against a separate total field.

Monday, April 23, 2012

How to check is timezone identifier valid from code?


I'll try to explain what's the problem here.



According to list of supported timezones from PHP manual, I can see all valid TZ identifiers in PHP.

Thursday, April 12, 2012

Zend Framework form with jquery


Any one a idea how to simply create a form with Zend_Form and jquery? I want to use Zend_Form to validate the form so I don't have to dual script the form in JavaScript and PHP.

Wednesday, February 29, 2012

Android JAVA String Validation


i have a question :



I want to create an app that take a String from user input. This String will be in an email format. So there's some requirement's :

Thursday, February 16, 2012

Check if URL is valid in Android without catching Exception?


See, I have to check like 50+ URLs for validity, and I'm assuming that catching more than 50 exceptions is kind of over the top. Is there a way to check if a bunch of URLs are valid without wrapping it in a try catch to catch exceptions? Also, just fyi, in Android the class "UrlValidator" doesn't exist (but it does exist in the standard java), and there's UrlUtil.isValidUrl(String url) but that method seems to be pleased with whatever you throw at it as long as it contains http://... any suggestions?

Wednesday, January 11, 2012