Dynamic data attachments-data pulled from parent form disappears while editing child form

Hi!

I’ve already built my 2 forms (parent and child form), the child form is able to pull data from the parent form, however, the same pulled data disappears from the child form on attempts to edit the form. (This happens while using webform)

While on android, the same child form is unable to pull the data from the parent.

How do i resolve this?

Hi napa,

This usually happens when the key in both form were matching while to form filling first time, at some point you probably changed the key in one of the forms or person who fill the form filled this field manually. If the form filled manually, the data entered will disappear when you try to edit

1 Like

Thank you @osmanburcu.
Not sure if i’ve understood you. What am i supposed to then?

Hi Osmanburcu, is it okey if i share my email we chat more on teams about this? Thats how serious it is.

@andresimi, could you also be of help? looks like you’ve experienced related to this before?

Hi @napa, I think problem is not from your side, i realized something weird, someone questions in the groups doesn’t appear in the form.

Child form.xlsx (20.6 KB)
These are my 2 forms
Parent form.xlsx (31.9 KB)

Found your problem. In the child form you are referancing to “show_id” note in the parent form, so your code is generated in the “auto_id” question and showed to user in “show_id”. When auto_id generated lets say code “033321” but the value in the show_id is “Case Referance Number 033321”. When you write the “033321” code in the child from, the code is not matching because it is missing the “Case Referance Number” text. When you try to edit the form, kobo try to bring the information but in is empty the value is not existed, so it deletes the value in the question.

So the solution is you either need to reference to “auto_id” or you will edit the “show_id” note and only keep the ${auto_id} part.

1 Like

Child form.xlsx (19.9 KB)

Hi napa, yes this should be the correct formula. before you replace your old form, just create a new one and test

I tried dear, it failed. Thats why i was asking you to share/upload your version of the corrected child form, the parent form is actually already in use. Please share if you corrected

Hi napa, you just need to test the form before changing the original one. Just create a copy of the form, test to see if it is working. If it is working, you can replace the main form