binod
1
There are two methods to hide certain report fields from view in the Reports tab:
- Set the column
instance::tag to hidden in the XLSForm
- Add to
hidden_fields array in the form’s properties file
However, none of these methods work to hide individual fields that are inside a repeat.
Here is a sample XLSForm repeat survey:
| type |
name |
label::en |
instance::tag |
| text |
name |
Name |
|
| text |
hidden_props |
Hidden props |
|
| text |
hidden_tag |
Hidden tag |
hidden |
| begin repeat |
items |
Items |
|
| text |
name |
Name |
|
| text |
hidden_props |
Hidden props |
|
| text |
hidden_tag |
Hidden tag |
hidden |
| end repeat |
|
|
|
repeat.properties.json:
{
"title": [
{
"locale": "en",
"content": "Repeat"
}
],
"context": {
"place": true,
"person": true
},
"icon": "icon-repeat",
"hidden_fields": [
"hidden_props",
"items.hidden_props"
]
}
After I fill the form, I can still see the fields that should have been hidden:
I can hide the whole repeat group items, but how do I hide only certain fields inside the repeat?
So, unfortunately, I think this is just a bug in the functionality when it comes to repeats. 
binod
3
I’ve added a bug report here:
1 Like