Multiple relevant criterias

  • Asked
  • Active
  • Viewed 2717 times
0

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

1

Accepted answer

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".

1

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

Sabrina Sabrina
0

Accepted answer

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

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.