I’m not sure if it’s an issue or not in terms of expected functionality but while using WebForms I noticed that preloading data from an entity is not working as it is in Enketo or Collect.
1. What is the issue? Please be detailed.
I have a form that selects one entity from an entity list and preloads its data into fields like name, social security, geopoint and others. The purpose is having the field agents reviewing that data and making adjustments as needed.
While using Enketo or Collect everything works well, but on WebForms the data is not preloaded and the fields remain empty.
2. What steps can we take to reproduce this issue?
Create a form that creates entities
Create another form with a select_one_from_file entity.csv field (called “Producer” for example)
In this second form create the fields for preloading data and add calculations for each one as instance('producers')/root/item[name=${Producer}]/full_name
3. What have you tried to fix the issue?
Nothing as I don’t know if that is something not implemented yet or a bug
4. Upload any forms or screenshots you can share publicly below.
I’ve created two sample forms do reproduce the error that contains significantly less information but still use the same approach, then tested here and got to the same issues.
I’m using v0.23.1 of the WebForms too, my server versions are:
versions:
020d5a7ce018148beb8e968d50eec3a81d1bd98c (v2026.1.1-1-g020d5a7)
96b8937f314af34affcaead068bac83dfa1e4bdf client (v2026.1.0)
142c1c85501d90d225116862ba79dd914c5fcfc1 server (v2026.1.0-3-g142c1c85)
Please let me know if you find any issues in the form design, I might be misunderstanding some concepts an having your comments here will be a great learning opportunity for me.
Thanks for sharing the form @rfvieira, that does indeed reproduce and looks like a bug! When I change the initial selection I see the defaults populated as expected.
Thanks for reporting! I’ve managed to reproduce your exact issue reliably, and have a fix ready for review which I expect will be released in the next version of web-forms.