Changing contact parent in contact form also changes the contact name

Had a contact form i was using to move household contacts to other households and when i submitted the form, the contact got moved to the correct household but the contact name changed to the target household name. This is reproducible when using the contact selector with select-contact type-household

Adding bind-id-only to appearance, select-contact type-household bind-id-only fixed the issue. Without that, enketo would bind the linked household doc fields to the household contact fields matching the field names and causing unwanted overriding where field names match like with the contact name

1 Like