I have a control with a bunch of fields that I want a user to be able to configure.
I originally had this:
public bool Phone1Visible;
public bool Phone1Required;
Then realized that I didn't want to deal with having to validate again hidden required fields, so I came up with this:
public enum YOUR_NAME_HERE
{
Hidden,
Optional,
Required
}
What would you name this enum? I was thinking "FieldCriticality", but that sounds a little wordy.
Suggestions welcome.