This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hey We have found the validation attributes very useful, however the email address validation attribute would be even better if it had an additional parameter for specifying if it was required. We have solved this by having custom validation logic for the class and validating the email there, however would be logical to be able to specify this on the entity. i.e. [ValidateEmailAddress(Required=false)] Cheers, Nick |
|
|
Hi Nick, I've added this feature. It will be available in the next nightly. Cheers, Andrew. |
|
|
Shouldn't this be either enabled in the designer or preferably have null just be ignored? The presence/required validator should handle that. |
|