I have a textbox and EnumDropDownList in my view.
The enum drop down list has got values
--Select--
Red
Amber
Green
Now, if I select either Red or Amber from the enum drop down, the textbox should not be blank. It can be blank if Green is chosen.
I'm completely new to MVC and jQuery.
Can this be solved using only data annotations?
If this requires jQuery how to approach it?