Required

Makes a control go red when it has no value. The Required or asp-is-required attribute is spread across other controls. This is CSS and Javascript functions to make it work.

Javascript

Both these functions take a jQuery object and do all the work required to dynamically set or remove ShareIt required from the control.
ShareItLibrary.Required.RefreshRequired(o);
ShareItLibrary.Required.MakeRequired(o);
ShareItLibrary.Required.RemovedRequired(o);