Hi all,

I am not sure if this has been answered somewhere already, but I have a complex hierarchical code list. Some level1 categories DO NOT have any additional categories on level2 (or level3). Which Xpath syntax do I use to define that the level2 code attribute field stays hidden if the selected category on level1 does not have any additional (sub-)categories? I know I could work with the specific code value (e.g. code_list1=3 or codelist1>2 ), but as my code list is complex, a general expression (i.e. "if level2 is empty" then do not show...) would be more appropriate.

Does anybody have an idea how to do this?

Thanks in advance!!

Alex

asked 10 Mar, 08:35

wexxo's gravatar image

wexxo
12011332
accept rate: 0%

edited 10 Mar, 16:32


Dear Alex,
This is actually a feature we were already taking into consideration...!
In the Survey Designer we could add an option like "hide with empty items" or something like that.
We will include this feature in one of the next release of Collect, please check the changelog to see if it has been implemented or not when a new version is released.
Thanks,
Open Foris Team

permanent link

answered 10 Mar, 23:16

OF%20Collect's gravatar image

OF Collect ♦♦
3.7k18
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×425
×138

question asked: 10 Mar, 08:35

question was seen: 468 times

last updated: 10 Mar, 23:16