diff --git a/onadata/apps/viewer/static/js/instance.js b/onadata/apps/viewer/static/js/instance.js index 76599a978..1b2917cf0 100644 --- a/onadata/apps/viewer/static/js/instance.js +++ b/onadata/apps/viewer/static/js/instance.js @@ -49,6 +49,10 @@ function parseQuestions(children, prefix, cleanReplacement) questions[((prefix?prefix:'') + question.name)] = new Question(question); } } + if (typeof prefix === 'undefined') { + questions['_id'] = new Question( + {name: '_id', type: 'calculate', label: '_id'}); + } } function addOrEditNote(){