I would venture to say you're having two problems.
- I'm assuming ReleaseDate is a DateTime. If that's the case, then doing movieToValidate.ReleaseDate.ToString() is going to return "1/1/1900 blahblah". You shouldn't check the length, you should check it like movieToValidate.ReleaseDate == DateTime.MinValue perhaps.
- I've gotten the "A value is required." error before when I didn't think I should be getting an error. It had something to do with my model not having something specified that it thought was required. Like, for instance, a FK relationship to another object wasn't being set or something. If you debug the app in your controller you should be able to see your ModelErrors and drill down to that specific error and see where it's coming from.
Joseph
2009-08-21 15:35:07