New Post: Required Client Side Validation on Date in MVC Razor.
FluentValidation can't do this client-side I'm afraid. You'd have to write this rule server-side.
View ArticleNew Post: InclusiveBetween with bounds specified in other properties
I want to use the InclusiveBetween extension method to validate a property where the limits "to" and "from" are from other properties. Has anybody written this extension?
View ArticleNew Post: InclusiveBetween with bounds specified in other properties
Hi This isn't something that's something supported. The current implementation of the InclusiveBetweenValidator requires that the to/from values be loaded at the time the validator is instantiated, but...
View ArticleNew Post: How to validate from date and to date in MVC3 razor (end date...
Hi Everybody, How to validate in client side a case from date and to date in MVC3 razor (end date cannot be less than startdate etc) . I need to know only by using client side. server side is working...
View ArticleNew Post: How to validate from date and to date in MVC3 razor (end date...
This is not supported client-side. It is server-side only.
View ArticleNew Post: Successfully migrated from SpecExpress to Fluent Validation
Jeremy, Just a quick note to thank you for providing this open source library. We just migrated our existing SpecExpress validation classes to Fluent Validation. Why? Well, the SpecExpress project...
View ArticleNew Post: Successfully migrated from SpecExpress to Fluent Validation
Thanks for your kind words - please let me know if you encounter any issues or have any suggestions going forward! Jeremy
View ArticleNew Post: Comparing between properties
Hi JeremyS, The same scenario i am facing,I follow the above rule which u have mention but i am getting an error. Error 8 'System.DateTime' does not contain a definition for 'Value' and no extension...
View ArticleNew Post: Comparing 2 dates
JeremyS wrote: Yes, I'm aware both dates are nullable. Make sure you're running 3.1. This error only occurs on 3.0 or earlier. Hi JeremyS, The same scenario i am facing,I follow the above rule which u...
View ArticleNew Post: Fluent Validation and Structure Map Problem.
I'm confused, how does the code from http://www.jeremyskinner.co.uk/2010/02/22/using-fluentvalidation-with-an-ioc-container/ AssemblyScanner.FindValidatorsInAssemblyContaining<MyValidator>()...
View ArticleNew Post: Fluent Validation and Structure Map Problem.
That will get all IValidators. The assembly scanner finds all types in the specified assembly that implement IValidator<T>. If you're interested in knowing how this works, take a look at the code...
View ArticleNew Post: Fluent Validation and Structure Map Problem.
I did, but it just doesn't seem clear to me. It looks like it will only find types of MyValidator, not IValidator<T>. So I did not try that code before looking at the source. I did try...
View ArticleNew Post: Multiple RuleSet for a single Model Class with complex properties...
Hi In this case you'd probably be better off not using rulesets, but having two separate validators for the differnet properties. Jeremy
View ArticleNew Post: Fluent Validation Complex Property message shows Complex Property...
Similar question have been posted (http://stackoverflow.com/questions/17236704/fluent-validation-complex-property-message-shows-complex-property-name-in-it) Hi I have class structure like this public...
View ArticleNew Post: Multiple Property validation and Dynamic Property Validation in MVC...
Thanks Jeremy, I used Custom for first scenario and it works great !!! For second scenario : - I have RadioButton Displayed on my View on page Load. Option1 : Yes No => if they select Yes then I...
View ArticleNew Post: Multiple RuleSet for a single Model Class with complex properties...
Yep, thats what I did ultimately and it works. Thanks for your time.
View ArticleNew Post: Fluent Validation Complex Property message shows Complex Property...
I got it answered on StackOverflow. Hereis the link and code. (http://stackoverflow.com/questions/17236704/fluent-validation-complex-property-message-shows-complex-property-name-in-it/17237230) You...
View ArticleCreated Unassigned: Dynamic Message not showing Properly. [7145]
Hi ,I have a model class Customer in which have the CustomerIndex and CustomerName Property.I need to Show the message when CustomerName is null.Message is __"Please provide the Name of Customer 1."__...
View ArticleCommented Unassigned: Dynamic Message not showing Properly. [7145]
Hi ,I have a model class Customer in which have the CustomerIndex and CustomerName Property.I need to Show the message when CustomerName is null.Message is __"Please provide the Name of Customer 1."__...
View Article