cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

Implement Actions and Events as per ODK XForm Specification

Open abbyad opened this issue 7 years ago • 1 comments

As a way to solve #4105, @lognaturel mentioned the Actions and Events from the ODK XForm specification. ODK Collect currently implements the xforms-ready event only, and will soon support xforms-value-changed as well. Neither are currently implemented in Enketo. For the purposes of have variable defaults we would need both of these actions.

Here is a simple form which uses parts of ODK's examples. Since events and actions are not yet supported by pyxform changes were made manually in XForm.

abbyad avatar Jan 25 '18 22:01 abbyad

Asked on ODK slack at https://opendatakit.slack.com/archives/C3K3P0WS2/p1519150596000410

alxndrsn avatar Feb 20 '18 18:02 alxndrsn