... and one less non-XPath 1.0 function that I'll have to worry about implementing for libxml2... ![]()
Thanks for everyone's patience on this. I have a proposed fix at https://github.com/opendatakit/javarosa/pull/486 that should be released in Collect v1.24 in mid-October.
Thanks for the updates LN and Yaw, i will take a look at the beta release and see how it goes.
I have a calculate field using jr:choice-name(${commodity_name},'${commodity_name}') to get the label from a select_one question 'commodity_name' within a repeat group. The select_one question has a choice_filter expression. The label is being displayed in ODK Collect v1.27.1 but not in Enketo v1.86.1. What could be the issue? Thanks.
I see that this has been 'resolved' in github but I noticed that when the appearance of my select_one question is set to 'autocomplete', this feature does not work. I'll add a note to the old issue in github.
I did eventually resolve: I removed the choice list from the 'choices' tab and saved the choices in an external .csv. Here's an example:
select_one question: species_name
saved a .csv named 'species.csv' in the media folder with two columns: name, label. Filled name with species names, label with species labels.
to calculate species name LABELS, use: pulldata('species', 'label', 'name', ${species_name}).
Sorry to hear you've run into an issue and thanks so much for reporting it and sharing your workaround. I've followed up with some questions on Github so we can get the issue triaged.