I am registering a person that is attending one of our training sessions, and so naturally I would use form A to do that.
For us to know which individuals attended which training session we have a reference field in form A that asks for the Training ID in form B ( or any other detail of that training).
However, as a user I have not added that training into database B, and so intuitively, when I come across the reference field in A I would just “press add record in form B” and it would take me to form B to fill it.
Here is the catch
Form B also has a reference field to A and asks for the Individual ID that attended that specific Training, but since the individual is not yet registered in A, I cannot find their ID in the reference field.
This entails generating the ID of a record before it gets submitted and also keeping the data saved somewhere before submission.
This will actually be possible in the next iteration of the data entry form, which we’re aiming to support better performance for very large datasets, and to work more seamlessly with the interactive table.
In the new version, as soon as you start adding or editing a record, your changes are immediately stored as a draft. So if you add a referenced record inline, the draft will already be visible.
You can actually try this new version out by opening the web application with a feature flag:
Beneficiary ID is a record serial number. I understand it appears to be blank because the record has not been submitted yet, but do you think if the record eventually gets submitted, it would also get updated ?
Otherwise, yes it does work as I imagined thank you for this effort!