Posts by MaxleiSilva • 21 points
2 posts
-
0
votes4
answers2258
viewsA: Conditional Data Annotation MVC4
Gentlemen, the Fccdias solution worked, but I had to make a small change, I did not want to change its code, because I could not understand well that block of Javascript, but the only change I made…
-
2
votes4
answers2258
viewsQ: Conditional Data Annotation MVC4
I researched pacas here and did not find a solution for what I wanted. I wonder if anyone has done something similar in MVC4. Model: public class Trabalhador { [Required(ErrorMessage = "*")] public…