-
Notifications
You must be signed in to change notification settings - Fork 26
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
Proposal: add print hints #132
Comments
This seems unambiguously useful and is idiomatic as far as I understand it. We haven't formalized our spec committee yet but I think it would be good to get in the habit of getting at least three voices involved. @alxndrsn @dorey I never stopped to consider the implications of |
Would print hints be translatable in the same ways that |
Yes, they would, in the same way as labels, hints etc. |
Sorry, yeah i saw the |
@dorey, does that mean you're in favor? 😊 |
Yes! Sorry , I am 👍 for this approach |
Thanks @dorey @lognaturel If others don't offer objections/changes, I'll prepare a PR in the next few days and will open an issue on Pyxform when merged. |
Look like I'm a bit late on this one, but at first glance the |
Although I agree with you, I think the attribute name shouldn't really be part of this conversation since it's been part of the specification for a long time for the In the mean time, I derailed us at XLSForm/pyxform#142 when I realized that this variant might have value beyond just showing up on a printed piece of paper. I don't really know where we should go from there, process-wise. I think we let the conversation run its course there and summarize here? Should we perhaps revert the commit that added |
Yes, Let's see what comes out of pyxform. I can revert the commit in the mean time until we know the new |
Note for future commit: the reversal also reverted some other existing |
I think we can finalize this here, and then subsequently provide the spec to pyxform (for the xlsform transformation output of Shall we go for a neutral As a proposed description: The guidance version is only supported on hints and is meant to provide additional context or guidance for a question. This could be used e.g. during trainings or handouts to data collectors but it not shown by default on the client application during data collection. |
Hello @MartijnR, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 7 days. Are you still working on this issue? If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 3 days. If you've decided to work on something else, simply comment Thank you for your valuable contributions to Open Data Kit! |
|
Continuing here from the pyxform PR. The reason I got confused, and still am, is that when itext is used a single However, in this particular case if we want to show the guidance hint, we probably also want to show the regular hint (so one doesn't replace the other). |
Yeah, that's also what threw me off. But I think it's up to clients to pick the variant they want for different parts of their UI. So for one part they'd grab the hint with no form if it exists and for another they'd grab the hint with |
Alright, and they can also decide to grab both. Yes, let's do it like that. Thanks! |
Sorry I totally confused things with my wacky implementation! |
No worries at all. We have a wacky form format! 👍 |
For data collection clients that support printing of forms or records, an often-requested feature is to add some instructions or information that should only show up on print-outs.
Example use cases:
This proposal is facilitate this by adding a
form="print"
to<hint>
values, just as done for media (and in line with an existing obscure documented feature ofform="long"
andform="short"
for labels and hints).I believe ODK Collect currently ignores any unknown "form" attribute values (as it should). Test form:
Print_Hint_Test_2.xml.txt
The text was updated successfully, but these errors were encountered: