Hey I want to formulate criteria under which an attribute is displayed. For this purpose I used the "Relevant" box. An attribute should only be displayed if a specific code was selected for a previous code attribute. For example: Attribute "Height" only appears if it is not a lying tree. I tried tree!=tree=2 (if 2=lying trees). But it did not work. Can you help?

Many thanks

asked 23 Jan '20, 16:12

Sabrina's gravatar image

Sabrina
63834
accept rate: 0%


oh! I think you wrote code in wrong way. It should be like this (tree != 2 and tree !=3 ) where tree is an attribute and 2 or 3 is value that can be evaluated. you should write like this code under the box of "Height" attribute. Remember "Height" is wrong it should be "height".

permanent link

answered 23 Jan '20, 16:22

Rajkumar's gravatar image

Rajkumar
10422858
accept rate: 3%

1

Hi Rajkumar! Thanks a lot for your answer. With this code it worked.

(28 Jan '20, 10:23) Sabrina Sabrina's gravatar image

Dear Sabrina,
What's the name of the tree status attribute?
If the attribute is called tree_status then the Relevant when expression can be something like this:
tree_status = 2
Many thanks,
Open Foris Team

permanent link

answered 23 Jan '20, 17:32

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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:

×494

question asked: 23 Jan '20, 16:12

question was seen: 1,739 times

last updated: 28 Jan '20, 10:23