private static void ApplyNumberOnlyOptions(IDictionary attributes)
{
string list = CommonUtils.ObtainEntryAndRemove(attributes, "exceptions", String.Empty);
string forbid = CommonUtils.ObtainEntryAndRemove(attributes, "forbid", String.Empty);
attributes["onKeyPress"] = "return monorail_formhelper_numberonly(event, [" + list + "], [" + forbid + "]);";
}