You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support this, let's add Scenario method to load an existing instance. This could be an overload of init or something like initWithInstance. The instance will be passed in as an XFormsElement.
To me it feels like JavaRosa could expose a nice way to parse the instance XML into a FormInstance and then there should be an easy path to intializing form entry with a FormDef and that FormInstance. JavaRosa's FormDef is basically both the form "engine" and the immutable definition of the form at the same time though so there's a lot of tangling going on.
To summarize my own thoughts, there's more than just testing here: we need to actually support editing as a feature in JavaRosa. I'd suggest closing this for the moment and waiting to engage with the idea again when we finally get rid of FormLoaderTask in Collect (maybe for getodk/collect#6023).
Static defaults from the form definition get used for nodes that are omitted from the existing instance.
edit_defaults.xlsx
The text was updated successfully, but these errors were encountered: