Hallo Jan,
Enketo (core) facilitates asynchronous validation of fields. Medic Mobile is using this in their hybrid mobile data collection client to validate phone numbers. So that is feasible.
Retrieving values with an asynchronous call and then populate other values is far more complex. Including ALL data in a CSV or XML file upon form load is not feasible, right?
Some ideas on populating fields with retrieved values:
- add functionality to update an external instance (e.g. a new "
action" upon a xforms-value-changed event on the postal code field).
- add a new event that fires when an external instance has been updated
- add support for a setvalue action when that event is detected
I hope this helps,
Martijn