How can I put a table within a survey?

  • Asked
  • Active
  • Viewed 2117 times
0

Hello OFT, I am trying to develop a survey that will be used by foresters to estimate timber and firewood based on directive of authority. There is a table containing values that will be used to calculate different aspect of tree analysis. Now I want to use the table (like VLOOKUP in excel) but not figuring out where to put readymade table in the survey. How can I implement this on collect survey?

1

Accepted answer

Dear user,
You can create a new Species List (named "trees" for example) in the Species List tab of the Survey Designer, importing a CSV or Excel file with these (mandatory) columns: code, family, scientific_name.
All the other columns (use only lowercase letters and avoid special characters, e.g. a, b, c, a_1, a_2, etc) will be considered as "extra" info columns and you can retrieve that information with the expression: idm:speciesListData('trees', 'a_1', 'AFZ/QUA')
The first parameter is the species list name, the 2nd is the "extra" column name, the 3rd one is the code of the species. If you want it to be extracted from the value of a taxon attribute, in the 3rd parameter you can specify the name of the taxon attribute, e.g. idm:speciesListData('trees', 'a_1', taxon_attribute_name).
I hope it is a bit more clear now.
Many thanks.
Open Foris Team

0

Accepted answer

Dear user,
Can you associate that information to the species list? In that case you could add some "extra" value to every species and extract that information with the function idm:speciesListData, e.g.:
idm:speciesListData('trees', 'max_dbh', 'AFZ/QUA')
Let us know, many thanks.
Open Foris Team

0

Accepted answer

Hi OFT, Thank you very much for your response. I just want to put these information as shown in below table in any form but should be able to retrieve during calculation. Does collect give permission to put these numbers of column? if it is possible I will do rest of the task as you suggested in your previous answer. can I create such columns? Thank you very much. alt text .

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.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

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.