views:

30

answers:

1

Has any one used data validation on fields that are optional (nullable types)?

I.e. the field can be empty, but if data is entered, it must be valid?

Thanks, Mark

A: 

i think you can create a custom validator to validate the object

Sounds like a good option, do you know of any good online examples that demonstrate this?
Mark Cooper