Skip to content

765: odk:client-editable submission config#766

Merged
lindsay-stevens merged 1 commit into
XLSForm:masterfrom
lindsay-stevens:pyxform-765
Jun 3, 2025
Merged

765: odk:client-editable submission config#766
lindsay-stevens merged 1 commit into
XLSForm:masterfrom
lindsay-stevens:pyxform-765

Conversation

@lindsay-stevens

Copy link
Copy Markdown
Contributor

Closes #765

Why is this the best possible solution? Were any other approaches considered?

Similar to auto_send / auto_delete, but requested to allow more true/false-y values than just 'true' accepted for those.

What are the regression risks?

Unlikely problem but if a user had a setting column called 'client-editable' used for something else like documentation, now it does something to the XForm if it contains an alias of true.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

Filed getodk/xforms-spec#328 and getodk/docs#1957

Before submitting this PR, please make sure you have:

  • included test cases for core behavior and edge cases in tests
  • run python -m unittest and verified all tests pass
  • run ruff format pyxform tests and ruff check pyxform tests to lint code
  • verified that any code or assets from external sources are properly credited in comments

- similar to auto_send / auto_delete, but requested to allow more
  true/false-y values than just 'true' accepted for those.
@lindsay-stevens lindsay-stevens changed the title add: odk:client-editable submission config 765: odk:client-editable submission config Jun 3, 2025

@lognaturel lognaturel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful, thank you!

As much as I don't love aliases, I think it's helpful to be consistent in what's supported for true/false values across the survey and settings sheets. I'll file an issue to also support aliases for auto_delete and auto_send

@lindsay-stevens lindsay-stevens merged commit 6b947bc into XLSForm:master Jun 3, 2025
10 checks passed
@lindsay-stevens lindsay-stevens deleted the pyxform-765 branch June 3, 2025 16:36
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

Successfully merging this pull request may close these issues.

Add client_editable column to settings so users can opt into client-based edits of finalized/sent forms

2 participants