Is data annotation - clientside passOnNull always truthy

Currently, if the 'Is' data annotation is used directly, then the client side validation function always has a truthy value for passOnNull. i.e. foolproof.is = function (value1, operator, value2,...

Id #22535 | Release: None | Updated: May 19 at 2:16 AM by Inneslu | Created: May 19 at 2:12 AM by Inneslu

Move to GitHub

You could make another new years resolution to move the project to GitHub, since CodePlex ist shutting down.

Id #22521 | Release: None | Updated: Apr 15 at 8:55 PM by UweKeim | Created: Apr 15 at 8:55 PM by UweKeim

Cannot resolve symbol 'Register' (RegularExpressionIf)

Hi, I am trying to use the RegularExpressionIf class for data annotations. I added the class and all the other dependent classes, including ModelAwareValidationAttribute and ContingentValidationAt...

Id #22110 | Release: None | Updated: Dec 9, 2015 at 3:19 PM by paldrich01 | Created: Dec 9, 2015 at 3:19 PM by paldrich01

Validation errors not displayed on pageload

I have couple of [RequiredIf] data annotations and they work correctly if I submit the form after the pageload. I am trying to show the errors upfront (ie on pageload) and it is not working. It is ...

Id #22002 | Release: None | Updated: Sep 10, 2015 at 4:34 PM by kiranmahale | Created: Sep 10, 2015 at 3:20 PM by kiranmahale

Problem with Turkish Culture

Foolproof validation works fine on MVC project. But if I change the culture to Turkish programmatically, the foolproof validations stop working. Can someone please help

Id #21860 | Release: None | Updated: Jan 3, 2016 at 9:13 PM by Dromar | Created: May 17, 2015 at 6:45 PM by pashajam123

Problems when multiple forms exist on a page

If multiple forms exist on a page, and they happen to have elements with the same ID/Name, the code for locating dependentPropertyElement fails. I'd suggest only searching for the dependentProperty...

Id #21699 | Release: None | Updated: Jan 29, 2015 at 7:28 PM by jjbutera | Created: Jan 29, 2015 at 7:28 PM by jjbutera

LessThenOrEqualTo with Decimal and Globalization

LessThenOrEqualTo does not work when the decimal separator is not dot ("."). This problem was reported in this link and is not fixed yet: https://foolproof.codeplex.com/discussions/269285 My lan...

Id #21561 | Release: None | Updated: Jan 27 at 3:15 PM by Xifeidanhu | Created: Nov 15, 2014 at 12:41 AM by rafadr

ErrorMessage not working for RequiredIf

I have my model with: [RequiredIfTrue("OtherField", ErrorMessage = "The field {0} cannot be blank")] [Display(Name = "User Name")] public string Name { get; set; } But the server side validation (...

Id #21330 | Release: None | Updated: Sep 17, 2014 at 2:47 PM by jonataspiazzi | Created: Sep 17, 2014 at 2:47 PM by jonataspiazzi

Foolproof Unobtrusive validation does not work if name prefixes are used.

If one uses prefixes on control names, foolproof cannot find or validate the input elements on the client side. Server side validation continues to work. This is easy to demonstrate. Create a si...

Id #21211 | Release: None | Updated: Aug 6, 2014 at 5:48 PM by jloper | Created: Aug 6, 2014 at 5:48 PM by jloper

RequiredIf not working in MVC4-Partial view

Got it all working in a MVC4 project, fixed some minor issues in a view, all working. Added it to a partial view, other normal DataAnnotations all work when click submit button. but an input field...

Id #21174 | Release: None | Updated: Jan 26, 2016 at 7:16 PM by hidegh | Created: Jul 24, 2014 at 10:41 AM by TanyaLi