of course you can write additional custom methods to validate numbers only, email address, valid URL, etc.
If you use j Query at all I would look into trying out the j Query Validation plug-in. You can create a set and then set the values of the text and field colors to change to red when there is an error and then set it back to the defaults when the field validates.i just noticed the reason why i was getting the error alert, the field Data is compared with field Data which is obviously true always instead i need a function to verify that entered field is not the default value in text input.
Selected Text and Value of the Check Box List using Java Script in ASP. Here Mudassar Ahmed Khan has explained with an example, how to use Java Script with Radio Button List in ASP. This article will explain how to validate Radio Button List to find whether an item is selected or not and also how to get the Selected Text and Value of the Radio Button List using Java Script in ASP.
Actually, In developer perspective It can be hacked by some one else, let see the example, I'm going to see the page through inspect element and I replaced the button return value to be "true" instead of "return Validate();", now it would give some burden.
it continuously calls the in Not Empty method until it returns a value of true or if the conditional fails for that field it will return false.
Give this a shot and let me know if it helps or if you have any questions.