Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept a list of references in the trigger column #733

Open
1 task
lognaturel opened this issue Oct 28, 2024 · 1 comment
Open
1 task

Accept a list of references in the trigger column #733

lognaturel opened this issue Oct 28, 2024 · 1 comment
Milestone

Comments

@lognaturel
Copy link
Contributor

lognaturel commented Oct 28, 2024

The trigger column in XLSForm makes it possible to specify a reference to a field which, when changed by the user, triggers the run of the calculation defined in the row.

This corresponds to the XForms setvalue action with an xforms-value-change event trigger. XForms allows multiple setvalue actions to affect the same target node but that currently can't be expressed in an XLSForm.

Accepting a list of trigger references would expand flexibility without adding much complexity.

https://forum.getodk.org/t/different-behaviour-between-enketo-and-odk-collect-on-trigger-and-instance/50304/5

  • decide on separator
@lognaturel lognaturel changed the title Accept a space-separated list of references in the trigger column Accept a list of references in the trigger column Oct 28, 2024
@tiritea
Copy link

tiritea commented Oct 31, 2024

FWIW I have no preference on the delimiter

Minor point: is it possible today to write an explicit XPath for the trigger, eg /data/foo, or do they all need to be a ${foo} reference? (in case that has any implications on an appropriate delimiter...)

@lognaturel lognaturel added this to the Next milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants