Delete the constraint and you should be able to edit without any issue. But kindly please be informed that if the data collection is still on it should affect the data that is yet to be collected.
Or, maybe you could make edits once the data collection is over.
Hi @Kal_Lam
Unfortunately neither of those solutions are possible, data collection is ongoing so I can’t edit the xlfForm to delete the constraint. I cannot wait until data collection is over because when I download the data everyday this submission splits over 2 rows.
I guess I will need to ask the enumerator to re-enter data and delete the problematic submission on the dashboard
Thanks for your replies
Catherine
Hello @Kal_Lam,
Could you, please, add some more explanation (orlink) about this general.feature. How does a form version relate to a submission on the server. I think (please confirm, correct, add)
Every submissions is linked to the form version used for (first) data entry?
In KoBoCollect, on.local device, re-edit can only done with this version (before sent).
On server level, edit/save is done with the newest deployed version?
Data export from the server is also done based on the newest deployed version? (But enhanced by data and labels from all previous versions if the include option is selected)?
This means for example:
Data cleaning on server can use changed constraints, relevants. Even additional calculations?
There is no possibility to change the used form on local device after data entry/save?
This issue is related with the form design. If i am not mistaken it’s associated with the following post which controls the same (i.e. enumerators are not allowed to manipulate the date during data entry):
Else, if it would have been a normal form a user could easily edit a submission without any issues form the KoBoToobox server.
Hi @Kal_Lam and @wroos
The main issue is that the csv export from KoboToolbox dashboard for some submissions data is split across 2 rows, I think this is due to the enumerator using carriage returns or extra spaces in text box responses (though i am not certain).
When I download the data and try to process it in SAS the code crashes because the first variable is meant to be a date. however instead the text reponse from the row above splits and so text comes into the date column.
I previously submitted a query to the forum when @Kal_lam said I could edit responses on the dashboard. This works well in most of the cases, however in today’s download I was not able to edit the submission. I was previously able to edit so I am not sure what the difference between today’s submission and all the other ones I have been able to edit.
If you need me to clarify any points please let me know
This is definitely an issue with how the csv is being pursed by the data conversion programme. When you look at the CSV in its raw format on Excel, are the rows also split? If the rows are split then this is definitely a system issue where continuous texts are not being processed within open quotes to denote them. If this is the case, kindly send the name of your project and account name (only) on private message and I will find sometime to look at it.
I would first start by just confirming an obvious to clear any doubts; do you own this form or it was shared with you?
If shared to you you, kindly ask the person to re-share the same to you.
If this is your own form, could you share a screenshot of what you are seeing when you try to edit the form?
I work with my colleague who is the study coordinator and she set up the project and uploaded the xlsForm, however I have her permission to have the username and password. I am the data manager for the project.
Hi Catherine,
This file seems to have been pushed as semi colon separated values as opposed to comma separated values. What happens is that if one or more of the responses there had a semi-colon and an open or close quotation, the system may have read it as a variable.
In this case the errors should be in the rows you have highlighted. Edit the form before you download the csv.
Hello @stephanealoo and @cp622 ,
Can we try to find out exactly, please, what characters/elements in text fields may cause this error for exported (XLSX or csv) data. So we could suggest a standard regex on all text field to avoid such problems, also for the rest of the community.
Thanks in advance.
Kind regards
Hello @cp622 and @stephanealoo,
You may also try if your recent problem can be solved by using Excel >> create Empty Workbook, Then >> Data >> From Text. There you can configure how delimiter etc are to be treated.
You could also try XLS export.
i have used the data\text to columns in excel for ease of reading.
StudyID 99999901 pressed carriage return before entering the free text and then I did StudyID 99999903 and pressed return after entering the free text in enketo
StudyID 99999902 and 99999910 was done via ODK collect app, with the same method of carriage return before entering free text, then after enter entering the free text. I also tested a 2 word text answer with a capital letter to distinguish the two words, this also caused a split in the two lines MaigaminDilaxin.
When i replaced with an underscore there was no issue.
I tried to edit yesterdays response via the dashboard, as i had been able to do previously, on my laptop and the error of time cannot be in future kept appearing. I am not sure why it worked on other occasions and didn’t work yesterday.
So in my opinion there are 2 issues, the underlying issue of data splitting across 2 lines and the solution for this which only seems to work some of the times.
Hi @stephanealoo
The issue appeared some weeks ago with data splitting across 2 lines. I entered data deliberately to test what was causing this issue, i have given a summary of these tests in my last reply.
I am using the csv XML values and headers download option, i am not doing any conversion, if i open the data in excel or in textpad without any edits i see that there is a studyID who’s data has appeared on 2 rows.
In my opinion the issue is with the csv output. I downloaded it by XLS values and headers and the issue of the studyID’s data over 2 rows does not exist. However if i now decide to download the data using XLS export type I will beed to re-write my SAS import script. I wanted to avoid this. I could enter some regex constraints, however I am not sure of all the characters that cause the issue.
Can you instruct me how to send a private message to you, i previously tried with @Kal_lam and ended up flaggng posts as inappropriate