TypeError: Cannot read property 'previousElementSibling' of undefined

We recently launched a survey on Kobo and we are experiencing a problem as described below.

Steps to recreate the error:

  1. Launch the form
  2. Start filling in the form
  3. Close the webpage without finishing answering the form
  4. Open the survey link on the same browser
  5. Click on ‘Load record’ when prompted
  6. The error message appears
  7. The language changes to French and the form cannot be edited.

Your support in resolving this promptly will be highly appreciated

1 Like

Hi @arnold_njogu,

We are looking into the case and will let you know once we find anything that solves the issue.

Have a great day!

1 Like

Problem was that i used a choice-name calculation in a multilingual form. I removed this calculation and it works perfectly now.

1 Like

Hi @arnold_njogu,

Thank you for sharing the issue and the solution with the entire community!

Have a great day!

1 Like

Hello @arnold_njogu ,
could you share here in detail this “choice-name calculation in a multilingual form”. This may help others to avoid similar problems.
Thanks in advance.

2 Likes

Hi, I cannot delete the choice-name calculation as its necessary for the form. What do I do if I still see this error?

@eeshatariq, the best option would be to download your survey question as xlsform and then validate them with this online validator. The online validator would be able to identify syntax issues, if any.