validation

Validating Email Address Component or Service - .NET

We are looking to improve our marketing email list by preventing fake emails from entering in the first place. We want to confirm that an email address exists (and that there is actually a mailbox for that email address). Does anyone know of any services or components to validate an email address? ...

jQuery validation formatting Issue in IE

In firefox, the error messages display as should. Just to the right of the element being validated. In IE. No matter what I do with the sizing of the labels/elements/errors, the error is always posted below the element, causing every other element to be pushed down. <p> <label for="handle"><strong>User Name</strong></label> <IN...

Constraint vs. Validation?

I am working with Windows Forms Databinding, implementing interfaces like IDataErrorInfo. In order for this to work, the domain(or business) object is allowed to be in an invalid state. In fact, the domain object needs to retain the invalid value as the user entered it for IDataErrorInfo to work properly. As long as the object isn't p...

YAML validation

Is there a website that I can upload a YAML file and check for validity? I want to be sure the data coming in will parse correctly. Is trial and error the best method? ...

Open Source Email MX Record Validator

I know there are some commercial products that do complete email validation (syntax, domain, MX and SMTP), but is there a good open source project out there that provides this functionality for a .NET application? For those interested in the commercial choices, I started a list in my reply to this question. ...

CompareValidator inside an UpdatePanel - VS2008

I'm using an UpdatePanel and want to put a CompareValidator on two text boxes, to verify that the user-entered password and confirmation are the same. This is working fine (I have VS2008 and am using .NET 3.5) out of the box, with one minor problem: The validation is firing as soon as the user clicks out of the first textbox, before th...

MVC and jQuery validation, where to 'weave' the javascript and how to embed into master page?

Hi, If my header/footer are in the master page, and my .js files are referenced in the master page, how can I add jQuery validation on my login page? If there is an error detected, how will I modify the .js file to display the appropriate error message? ...

My reCaptcha gets Page.IsValid=False always... when using onClientClick="return validate()"

Hello, I'm using reCaptcha in my asp.net 2.0 web application. I'm using onClientClick="return validateForm()" on my submit button. validateForm does basic checking and stops the form from getting to the server if not needed... For some reason, once the user passes the client side validation he always gets Page.IsValid="false"... If ...

Validation Libraries and plugins

Hi, I need a javascript validation library that validates different fields or controls (textBox, dropDownList, radioButton, ...) with different validation types ( empty field, wrong value, number of value , ... ). Any recommendations? ...

How do I validate site markup [HTML/CSS] behind a firewall?

I am designing a web site but it is behind a firewall and such services like http://validator.w3.org/ will not work. Are there any free apps I could run on Windows or Mac OS X that will validate html and css? ...

How to check that asp:TextBox does not contain html tags.

I have a text box and need to validate that it is plain text does not contain html tags. What is the best way to do it in .net Bonus Question: How to do the same with javascript. ...

list of email addresses that can be used to test a javascript validation script.

Does anyone have a list of email addresses that I can use to test my JS address validation script? I'm looking for as complete of a list as is reasonable to test the most common edge cases, if not all cases. ...

ASP.Net MVC Ajax form with jQuery validation

I have an MVC view with a form built with the Ajax.BeginForm() helper method, and I'm trying to validate user input with the jQuery Validation plugin. I get the plugin to highlight the inputs with invalid input data, but despite the invalid input the form is posted to the server. How do I stop this, and make sure that the data is only p...

Validating with an XML schema in Python

I have an XML file and an XML schema in another file and I'd like to validate that my XML file adheres to the schema. How do I do this in Python? I'd prefer something using the standard library, but I can install a third-party package if necessary. ...

Is there any point to writing your own validation framework for MVC beta or do you expect one will be released soon?

Hi, There have been plenty of questions on MVC validation but so far the answer has been pretty much inconclusive. For my needs in particular, I would like something that generates client validation and server validation from the same description and should allow both model based attributes as well as code based declarations for those ...

Textbox validation, focus switching issue

Good morning, I am working on a C# winform application that is using validation for the controls. The issue I'm having is that when a user clicks into a textbox and attempts to click out, the validation fires and re-focuses the control, basically the user cannot click out of the control to another control. My desired result is to have ...

Entity Framework Validation & usage

I'm aware there is an AssociationChanged event, however, this event fires after the association is made. There is no AssociationChanging event. So, if I want to throw an exception for some validation reason, how do I do this and get back to my original value? Also, I would like to default values for my entity based on information fro...

Javascript Regular Expressions - Required field validation

Hello, How do I check if a field (textbox) is empty or filled only with white spaces (spaces/enters/tabs etc.), using javascript RegExp? ...

How can I validate parameters without creating a separate dialog?

I'm going to make an application (in Swing) that uses a tree to visualize a data structure (JTree). A tree will be on the left side of a window. The user will be able to browse a tree. The parameters of every tree node will be displayed on the right side of the window. The example windows will be looking like this ===================...

How can I indicate in an Expander header that collapsed contents have an error

Hi, I have expanders that contain text boxes, the text boxes use the wpf validation stuff to draw a red box around them ( text boxes are wrapped in Adorner Decorators to make sure I don't get empty red boxes everywhere when the expanders are collapsed) I want to indicate in the header of the expander that it has contents that have erro...