I would like to know if it is feasible and what would be the expression to have a new entry in a survey that would only be relevant when the tree species is unknown or unlisted.

I have added manually entries in the tree species list for Unknown or Unlisted species as follows:

no / code / family / scientific_name / synonyms / khm

10000 / UNK / Unknown / Unknown species / / Unknown species

10001 / UNL / Unlisted / Unlisted species / / Unlisted species

(following previous questions here on unknown and unlisted species predefined in the preview in OF collect but not working in OF mobile)

I have created a new entry in tree after the tree_species in the OF collect survey and I would like to make it relevant only when expression is verified' with an expression looking like:

tree_species = 'Unknown species'

However I don't know what expression to write as the tree species is not a single values list but a table with several columns.

Any help would be much appreciated!

asked 01 Apr '19, 06:06

GaelS's gravatar image

GaelS
133
accept rate: 0%


Dear Gael,
Please try to use the code of the species in the expression that you have to write. For example:

tree_species = 'UNK'

The expression checks that the user selected the value "UNK" in the tree_species attribute of the same "tree" where the new attribute is defined.

Many thanks,
Open Foris Team

permanent link

answered 01 Apr '19, 10:09

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: 01 Apr '19, 06:06

question was seen: 1,570 times

last updated: 01 Apr '19, 10:09