---
title: "automatic code list created from values entered"
url: "https://openforis.support/questions/2399/automatic-code-list-created-from-values-entered"
tags: ["collectmobile"]
status: "answered"
score: 1
answer_count: 1
asked: "2019-07-02T08:28:14"
last_activity: "2019-07-09T13:49:39"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# automatic code list created from values entered

Asked by bsenterre on 2019-07-02

Dear Open Foris team,
I would like to know if this is possible to define an attribute as a code list, but where the list is not predefined but rather made from the records entered so far in a survey? 
Either a solution where the code list will only show the list of distinct values entered so far in the data present in the survey.
Or a solution where the code list does not empty when data are deleted. So each time a value not yet in the list is entered, it is added permanently to the code list.
Thanks a lot in advance for your help,
Bruno


## Answer (score 0, by Stefano (OF) on 2019-07-09)

Link: https://openforis.support/questions/2399/automatic-code-list-created-from-values-entered/2411

Dear Bruno,  
This is a very good idea but it's not simple to implement right now.  
We will consider it and we will put it in our pipeline, thanks again.  
Open Foris Team
