New Post: Dynamic Form Fields
I have a client requirement to build a dynamic form. I am building the form using a list of the following: public class FieldViewModel { public string FieldName { get; set; } public string FieldValue {...
View ArticleCommented Issue: Problem with a Must overload. [7131]
I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...
View ArticleCommented Issue: Problem with a Must overload. [7131]
I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...
View ArticleNew Post: Dynamic Form Fields
Yes, that should be possible, although you'll need to use Must rules rather than the standard length rules etc. Something like this should probably work:public class FieldModelValidator :...
View ArticleCommented Issue: Problem with a Must overload. [7131]
I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...
View ArticleCommented Issue: Problem with a Must overload. [7131]
I'm having trouble using the following overload:```Must<T, TProperty>(Func<TProperty, bool> predicate)```The presence of the generic T in the method definition prevents concise usage such...
View ArticleNew Post: Dynamic Form Fields
Of course! I was certainly overcomplicating the problem in my mind... Thanks for the awesome support!
View ArticleNew Post: Use validation on CheboxList in Asp.Net MVC4
Hi Jeremy, You haven't no idea for my answer ? Laurent
View ArticleNew Post: Idea for integration
This is something I'd really like to see as well. If you're using migrations, you pretty much have to use EntityTypeConfiguration's fluent api heavily to guide the migrations, otherwise you end up...
View ArticleNew Post: Use validation on CheboxList in Asp.Net MVC4
Hi Laurent Yes, it is certainly possible to do this kind of validation. As I mentioned before, you'll need to represent your checkbox list as part of your model. You'd then render this in your view....
View ArticleCreated Issue: LengthValidator validates null inputs [7133]
Most validators should not validate null input, because that condition is validated with NotNull. LengthValidator assumes a length of 0 for null, breaking the convention.I think LengthValidator should...
View ArticleCommented Issue: LengthValidator validates null inputs [7133]
Most validators should not validate null input, because that condition is validated with NotNull. LengthValidator assumes a length of 0 for null, breaking the convention.I think LengthValidator should...
View ArticleNew Post: Comparing 2 dates
Hi , I am also getting the same error. 3.4.6 is the version i am using
View ArticleCreated Issue: Make inheritance of FluentValidationModelValidatorProvider...
Hi Jeremy,The FluentValidationModelValidatorProvider integration with MVC is very useful. However, if one would like to override some parts of the class it is not possible since the only overridable...
View ArticleSource code checked in, #b80e6459b473e7cee43af79f924af99d433d4609
Add CreateValidator method to FluentValidationModelValidatorProvider
View ArticleCommented Issue: Make inheritance of FluentValidationModelValidatorProvider...
Hi Jeremy,The FluentValidationModelValidatorProvider integration with MVC is very useful. However, if one would like to override some parts of the class it is not possible since the only overridable...
View ArticleCommented Issue: Make inheritance of FluentValidationModelValidatorProvider...
Hi Jeremy,The FluentValidationModelValidatorProvider integration with MVC is very useful. However, if one would like to override some parts of the class it is not possible since the only overridable...
View ArticleSource code checked in, #2f33f8c9aadc3088549977e3ea69408a191393be
Make IsValidatingProperty protected
View ArticleCreated Issue: MVC client-side validation of "default" rules [7135]
I've read the discussion about the magic "default" ruleset: http://fluentvalidation.codeplex.com/discussions/285831The rules are not passed to the client though, unless I use the workaround of manually...
View ArticleEdited Issue: MVC client-side validation of "default" rules [7135]
I've read the discussion about the magic "default" ruleset: http://fluentvalidation.codeplex.com/discussions/285831The rules are not passed to the client though, unless I use the workaround of manually...
View Article