OF collect survey entry relevant only for unknown and unlisted species

  • Asked
  • Active
  • Viewed 2455 times
0

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!

0

Accepted answer

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

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.