feat(#8226): document how to hide fields/groups in forms#2208
Merged
Conversation
Contributor
Author
|
@mrjones-plip can you make sure my working all makes sense here? 🙏 I am confident in the accuracy of the content, but am not sure how effective I have been at communicating it... 😅 |
mrjones-plip
approved these changes
May 2, 2026
Contributor
mrjones-plip
left a comment
There was a problem hiding this comment.
This is great! I appreciate you taking the time to document this stuff - sharing this knowledge is so beneficial!
All optional suggestions 🤙
Co-authored-by: mrjones <8253488+mrjones-plip@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The cht-core PR (medic/cht-core#10917) is resolving medic/cht-core#8226 and medic/cht-core#4543. Both these issues are regarding hiding top-level groups in a form.
This PR updates the docs to capture this fix and communicate the caveat that a
relevantexpression is required for it to work. I have also taken this opportunity to more thoroughly document the different ways your can "hide" fields in a form and the situations when each method should be used.License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.