XAisForm add type condition