 					case DELETE_ENTITY_MENU_ITEM:
 						AlertUtil.showConfirm("edit.confirmDeleteEntity", null, "global.confirmAlertTitle", performDeleteEntity);
 						break;
+					case APPROVE_ERROR_MENU_ITEM:
+						field.applyChanges(FieldSymbol.CONFIRMED);
+						break
 				}
 			}
 		}

		}
		
		public static function buildContextMenu(inputField:InputField):ContextMenu {
			var cm:ContextMenu = new ContextMenu();
			var items:Array = new Array();
			if(inputField.isEmpty()) {
				items.push(
					BLANK_ON_FORM_MENU_ITEM,
					DASH_ON_FORM_MENU_ITEM,
					ILLEGIBLE_MENU_ITEM
				);
			}
			items.push(EDIT_REMARKS_MENU_ITEM);
			
			var def:AttributeDefinitionProxy = inputField.attributeDefinition;
			if(def != null) {
				if(def.multiple) {
					items.push(DELETE_ATTRIBUTE_MENU_ITEM);
				}
				var entityDef:EntityDefinitionProxy = def.parent;
				if(entityDef != null && entityDef.multiple) {
					items.push(
						REPLACE_BLANKS_WITH_DASH_MENU_ITEM, 
						REPLACE_BLANKS_WITH_STAR_MENU_ITEM
					);
					if( !entityDef.enumerated) {
						items.push(DELETE_ENTITY_MENU_ITEM);
					}
				}
			}
			cm.customItems = items;
			cm.hideBuiltInItems();
			return cm;
		}
		
		public static function menuItemSelectHandler(event:ContextMenuEvent):void {

	import org.openforis.collect.event.EventDispatcherFactory;
	import org.openforis.collect.i18n.Message;
	import org.openforis.collect.metamodel.proxy.AttributeDefinitionProxy;
	import org.openforis.collect.metamodel.proxy.CodeAttributeDefinitionProxy;
	import org.openforis.collect.metamodel.proxy.EntityDefinitionProxy;
	import org.openforis.collect.model.FieldSymbol;
	import org.openforis.collect.model.proxy.AttributeProxy;
	import org.openforis.collect.model.proxy.EntityProxy;
	import org.openforis.collect.model.proxy.FieldProxy;
	import org.openforis.collect.model.proxy.NodeProxy;
	import org.openforis.collect.model.proxy.NodeStateProxy;
	import org.openforis.collect.model.proxy.RecordProxy$Step;
	import org.openforis.collect.presenter.RemarksPopUpPresenter;
	import org.openforis.collect.remoting.service.UpdateRequest;
	import org.openforis.collect.remoting.service.UpdateRequest$Method;
